github-push-action icon indicating copy to clipboard operation
github-push-action copied to clipboard

Offer a major version tag (v0)

Open jasongitmail opened this issue 5 years ago • 2 comments
trafficstars

Thanks for creating the action.

The ReadMe suggests using @master for the version, but that's a bit risky stability wise for users. Offering a major version tag would provide stability for users, assuming you follow semver.

You can accomplish this on each release with:

git tag v0.7.0
git push origin v0.7.0
git tag -fa v0 -m "Update v0 tag"
git push origin v0 --force

Then the README could say:

- name: Push changes
  uses: ad-m/github-push-action@v0
  with:
     github_token: ${{ secrets.GITHUB_TOKEN }}

jasongitmail avatar Aug 19 '20 21:08 jasongitmail

just a note - you can use a tag there 40bf560936a8022e68a3c00e7d2abefaf01305a6 is latest (at the moment)

vvscode avatar Sep 22 '20 08:09 vvscode

Using a commit as the version would provide stability, but wouldn't allow any minor or patch versions to be used automatically

jasongitmail avatar Sep 29 '20 05:09 jasongitmail