- Notifications
You must be signed in to change notification settings - Fork359
How can I update the versions in code to be the same as the draft release version?#1326
-
For example suppose I have a nodejs project which has a If I were to publish it would create a tag called What is the recommended way to keep the version information in my code up to date with the draft version before the Release is published? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 3 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Take a look here how I do it: Line 18 in569eb7e
https://github.com/release-drafter/release-drafter/blob/master/.github/workflows/release.yml |
BetaWas this translation helpful?Give feedback.
All reactions
-
Ok but how are you doing the commit? I keep getting foiled by branch protections, status checks and code owner requirements. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Well your out of luck those are one of the many issues with branch protection 🗡️ I believe nowadays you can add exclusion to the branch protection. |
BetaWas this translation helpful?Give feedback.
All reactions
-
You can potentially have a github workflow that does all of the releasing bits 😅 |
BetaWas this translation helpful?Give feedback.