From de64657f2c801cc093bf9e6e1f41f8eae45dfb26 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 10 Dec 2021 16:40:40 +0100 Subject: [PATCH] exp --- .github/workflows/manual-thingy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual-thingy.yml b/.github/workflows/manual-thingy.yml index 1c90d15..6604bb0 100644 --- a/.github/workflows/manual-thingy.yml +++ b/.github/workflows/manual-thingy.yml @@ -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"