GithubHelp home page GithubHelp logo

andrei15193 / automated-versioning Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14 KB

This is an experimental repository. I want to implement a way of creating versions from a base version (specified by the project, usually major and minor versions as they are generally manually managed) and append an automatically generated build version or increment for prereleases. The repository contains a number of projects where each would have its own package, each package version is tracked independently. When a base project is released, releases for dependent projects are created as well.

package-management project-management version-management versioning

automated-versioning's Introduction

This project aims to test a way of generating automated versions for projects and create releases for dependent projects when the base project has a new release.

Each release has a unique version and each project has its own version which is tracked, and changed, independently of one another. This is particularly useful for releases in dependent projects without having a release in the base project. For instance, Project 2 can get to version 1.0.5 while Project 3 is at 1.3.2 and Project 1 is at 1.1.0.

The major and minor versions are generally manually managed as it is hard to determine whether a series of commits include a new feature that is released and even more so to determine if it is a breaking change automatically. It is far more easier to modify these versions manually. What we need to be generated automatically is the build version and in case of prereleases, the increment for that particular prerelease.

Structure

Project 1

  • Project 2 (depends on Project 1)
  • Project 3 (depends on Project 1)

Releases of Project 1 generate releases for Project 2 and Project 3 for version bumps. Releases for Project 2 or Project 3 do not generate any other releases. Versions are tracked independently for each project.

All of this is done using GitHub Actions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.