]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Patch release workflow (#8815)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Sun, 4 Apr 2021 11:04:56 +0000 (14:04 +0300)
committerJukka Kurkela <jukka.kurkela@gmail.com>
Sun, 4 Apr 2021 11:50:40 +0000 (14:50 +0300)
* Allow manual triggering of release drafter
* Add instructions for patch release

.github/workflows/release-drafter.yml
MAINTAINING.md

index 064af110378d66ec328411d4d1a5a9a06b4a1fd9..183c7174639479f5db22cc786af6b66a52226261 100644 (file)
@@ -4,6 +4,7 @@ on:
   push:
     branches:
       - master
+  workflow_dispatch:
 
 jobs:
   correct_repository:
index 50976a19a35ab8451314174f4dc2cfb0f16729dd..dada06d6fab59e67526fe60d17e28fd396caf34d 100644 (file)
@@ -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)