Skip to content

Commit

Permalink
Patch release workflow (#8815)
Browse files Browse the repository at this point in the history
* Allow manual triggering of release drafter
* Add instructions for patch release
  • Loading branch information
kurkle authored Apr 4, 2021
1 parent 697e3ff commit c26f7b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
correct_repository:
Expand Down
9 changes: 9 additions & 0 deletions MAINTAINING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ Creation of this tag triggers a new build:

Finally, [cdnjs](https://cdnjs.com/libraries/Chart.js) is automatically updated from the npm release.

### Releasing a patch version

If there is a need to create a patch version for an older release:

1. Create a branch for the patch version (without the `v` prefix)
2. Cherry pick the needed commit(s) to that new branch from master
3. Trigger the release-drafter workflow on that branch from the actions.
4. Follow the procedure for [Releasing a New Version](#releasing-a-new-version)

### Further Reading

* [GitHub Action releases](https://github.com/chartjs/Chart.js/pull/7891)
Expand Down

0 comments on commit c26f7b8

Please sign in to comment.