Description
Make sure your local main branch is up-to-date
git checkout main
git fetch upstream
git reset --hard upstream/main
Decide the version number of your next release, depending on the commits included:
a patch version X.X.(n+1) when the release includes only bug fixes or small new features
a minor version X.(n+1).0 when the release includes notable new features
a major version (n+1).0.0 when the release introduces breaking changes / major refactoring or changes
Package the action with npm run all
Git add the changes of the dist/ directory with git add -u
Bump the package version with npm version -f X.Y.Z with the version decided before
Publish to Github! git push --tags upstream main
Update the “Major” version sliding tag vN
git tag -d vN
git tag vN main
git push upstream vN --force
Create a new GitHub release with a comprehensive changelog on https://github.com/bump-sh/github-action/releases/new
Reactions are currently unavailable
You can’t perform that action at this time.
Make sure your local main branch is up-to-date
git checkout maingit fetch upstreamgit reset --hard upstream/mainDecide the version number of your next release, depending on the commits included:
X.X.(n+1)when the release includes only bug fixes or small new featuresX.(n+1).0when the release includes notable new features(n+1).0.0when the release introduces breaking changes / major refactoring or changesPackage the action with
npm run allGit add the changes of the
dist/directory withgit add -uBump the package version with
npm version -f X.Y.Zwith the version decided beforePublish to Github!
git push --tags upstream mainUpdate the “Major” version sliding tag
vNgit tag -d vNgit tag vN maingit push upstream vN --forceCreate a new GitHub release with a comprehensive changelog on https://github.com/bump-sh/github-action/releases/new