Simple GitHub action that can be used to create/update a tag and push it to the remote.
Required. Tag you want to create.
Optional. Tag message. Default: Release $TAG
.
Optional. Push tag even if it already exists on the remote. Default: false
. Please use with care!
Optional. The commit SHA hash on which you want to push the tag. Uses latest commit by default.
Optional. It's no need to specify it if you use checkout@v2. Required for checkout@v1 action.
name: Create/update tag
on:
push:
branch: "main"
jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rickstaa/action-create-tag@v1
with:
tag: "latest"
message: "Latest release"
Feel free to open an issue if you have ideas on how to make this GitHub action better or if you want to report a bug! All contributions are welcome. 🚀 Please consult the contribution guidelines for more information.