We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f568d07 commit c84d60aCopy full SHA for c84d60a
.github/workflows/publish.yml
@@ -94,6 +94,10 @@ jobs:
94
# Replace branch in README.md link definitions for badges with the new version:
95
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
96
97
+ # Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98
+ sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99
+ sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100
+
101
# Create a new commit and tag:
102
git add package.json README.md
103
git commit -m "Release v${NEW_VERSION}"
0 commit comments