From e684fe67c1c9f1879452a09d142b7ba543795574 Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Mon, 30 Nov 2020 22:07:36 +0100 Subject: [PATCH] Skip using action for tagging. Fixes #305 Signed-off-by: David J. M. Karlsen --- .github/workflows/release.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 98c85e61..6caab81d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,12 +43,13 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Tag - uses: mathieudutour/github-tag-action@v4.6 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - custom_tag: ${{ github.event.inputs.version }} - tag_prefix: '' - create_annotated_tag: true + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + tag='${{ github.event.inputs.version }}' + git tag --annotate --message "Tag for release $tag" "$tag" + git push origin "refs/tags/$tag" - name: Build env: