This commit is contained in:
Stephan 2021-12-10 16:40:40 +01:00
parent 32e0aac7fa
commit de64657f2c

View File

@ -11,7 +11,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Do Something
run: |
version="${${{ github.ref }}:19}" # trim starting 'refs/heads/release/' (19 chars)
version="${{ github.ref }}"
version="${version:19}" # trim starting 'refs/heads/release/' (19 chars)
echo "Tag ref ${{ github.ref }} as v$version"
git tag v$version
git config user.email "github-actions@zpqrtbnk.net"