The GitHub Action relies on lib/index.js
as the entrypoint. This entrypoint needs to be committed after every change. Use the following command to package the code into lib/index.js
.
npm run build
-
Create a semver tag pointing to the commit you want to release. E.g. to create
v1.4.4
from tip-of-tree:git checkout master git pull origin master git tag v1.4.4 git push origin v1.4.4
-
Draft a new release on GitHub using the new semver tag.
-
Update the sliding tag (
v1
) to point to the new release commit. Note that existing users relying on thev1
will get auto-updated.
Follow these steps to move the v1
to a new version v1.4.4
.
git tag -f v1 v1.4.4
git push -f origin v1