fix(SPV-XXX): specific version in gorleaser (#95) #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Git Tag | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: [master, main] | |
jobs: | |
tag-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Because of some github action optimisation [discussed here](https://github.com/orgs/community/discussions/27028) | |
# We're using Deploy key | |
ssh-key: '${{ secrets.DEPLOYMENT_KEY }}' | |
- name: Create version tag | |
run: ./release/tag-next-version.sh | |
- name: Push new tag | |
run: git push --tags |