From 04693455c40d3931588f9282bc63097580f7e6c0 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Mon, 25 Apr 2022 21:38:02 +0200 Subject: [PATCH] Fix release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 821890a..f7843da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,9 @@ jobs: git add version.go snap/snapcraft.yaml git config --global user.email "github-actions@github.com" git config --global user.name "github-actions" - git commit -m "Release RELEASE_VERSION" - git tag -a "$RELEASE_VERSION" -m "Release $RELEASE_VERSION" --force - git push --follow-tags --force + git commit -m "Release $RELEASE_VERSION" + git tag "$RELEASE_VERSION" --force + git push --atomic --force origin master "$RELEASE_VERSION" - name: Test run: go test -v ./...