GabrielBB / xvfb-action

Run your tests headlessly ❌🖥️
https://github.com/marketplace/actions/gabrielbb-xvfb-action
MIT License
140 stars 20 forks source link

Always update major release tag #13

Closed felipecrs closed 4 years ago

felipecrs commented 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. ;)

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
GabrielBB commented 4 years ago

@felipecrs Good stuff!! I tried it, all new commits are now in release @v1. Updated README to use major tag. Thanks