Giter VIP home page Giter VIP logo

sinhyeok / semver-ci Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 213 KB

Semver-CI automates semantic versioning in your CI workflow, simplifying version management with automated increments based on branches and tags. Easily integrate with GitHub Actions, GitLab CI, and more to ensure consistent, semantically versioned releases.

License: GNU General Public License v3.0

Rust 95.47% Dockerfile 4.53%

semver-ci's People

Contributors

sinhyeok avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ef4b3f

semver-ci's Issues

Force `git fetch --tags`

  • Run git fetch --tags to fetch tags even when git depth is not deep enough to fetch the last tag

Add "scope" command

Input:

  • positional
    • branch name
  • named
    • major: regex for major scope
    • minor: regex for minor scope
    • patch: regex for patch scope

Output:

  • major | minor | patch

Generate release notes in GitLab CI

Automatically generate release notes by setting the --generate-release-notes option when running the release command

Add release_notes command
- The reason for separating the feature into another command is that the release command only works with a rest api call, while git is required to create release_notes.

Add incremental number to dev and rc version

As-is

Format

v0.7.0-dev.{COMMIT_SHORT_SHA}
v0.7.0-rc.{COMMIT_SHORT_SHA}

Example

# dev version
v0.7.0-dev.s90d8rfg
v0.7.0-dev.hf7r93qd

# rc version
v0.7.0-rc.fr31234t
v0.7.0-rc.gy2ertyh

To-be

Format

v0.7.0-dev.{INCREMENTAL_NUMBER}.{COMMIT_SHORT_SHA}
v0.7.0-rc.{INCREMENTAL_NUMBER}

Example

# dev version
v0.7.0-dev.1.hf29308w
v0.7.0-dev.2.eght0219

# rc version
v0.7.0-rc.1
v0.7.0-rc.2

Add "tag" command

Input:

  • tag name

Output:

  • tagged git ref

Result:

  • tag and push a git tag to origin

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.