Giter Club home page Giter Club logo

merge-bump-release's Introduction

merge-bump-release

GitHub action to be applied on merged pull-request, to bump a semver and create a new release.

Setting up in your workflow:

The best explanation is by example. Please have a look at this project's pr.yml file to see how this project is dogfooding the action in order to bump-release itself. Your example may be a bit different, depending on your circumstances.

Features

Out of the box, this action will always bump your release with a patch, unless configured to do otherwise. This action can decide what part of the SemVer so increment depending on the way it's configured.

If provided with bump: <patch | minor | major> as input it will use this input to bump and ignore any other configuration.

If provided with infer_bump_from_commit: true as input it will try to guess the right one depending on the commit message. Right now the logic is a commit header that starts with the words 'patch', 'minor' or 'major'.

Options

Please refer to action.yml in this repository to see all available options.

Contributing

If you need more features, please submit an issue or a pull request.

merge-bump-release's People

Contributors

amiiit avatar deebov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ultimateai deebov

merge-bump-release's Issues

Error when no releases exist on the repo

Workflow errors with:

Error: Cannot read properties of null (reading 'tag')

Probably coming from index.ts:

        const latestVersion = latestRelease.repository.latestRelease.tag.name

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.