2 Commits

Author SHA1 Message Date
GitHub Actions
85003adc6b Foo 2021-12-10 15:39:18 +00:00
Stephan
d61705886d pii 2021-12-10 16:38:56 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -11,8 +11,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Do Something
run: |
version="${{ github.ref }}"
version="${version:19}" # trim starting 'refs/heads/release/' (19 chars)
version="${${{ github.ref }}: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"

View File

@@ -1 +1,2 @@
foo
foo