Closed felipecrs closed 4 years ago
Hi, awesome action. A suggestion:
Update the major release tag (git tag v1) when you release another version matching that major version, so users could use your action with @v1 instead of @v1.2. It's one of the best practices for GitHub Actions. ;)
v1
@v1
@v1.2
See: https://github.com/actions/toolkit/blob/master/docs/action-versioning.md#recommendations
It's quite simple:
$ git tag -fa v1 -m "Update v1 tag" $ git push origin v1 --force
@felipecrs Good stuff!! I tried it, all new commits are now in release @v1. Updated README to use major tag. Thanks
Hi, awesome action. A suggestion:
Update the major release tag (git tag
v1
) when you release another version matching that major version, so users could use your action with@v1
instead of@v1.2
. It's one of the best practices for GitHub Actions. ;)See: https://github.com/actions/toolkit/blob/master/docs/action-versioning.md#recommendations
It's quite simple: