From 56b26310125ab0da7b2083a34f870a31456aa601 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Mon, 31 Jan 2022 16:11:46 -0800 Subject: [PATCH] Update release.yml Try to push only the new tag --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08619cd8c..7bf270ba7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: git commit -m "Release google-java-format ${{ github.event.inputs.version }}" echo "TARGET_COMMITISH=$(git rev-parse HEAD)" >> $GITHUB_ENV git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/google/google-java-format.git - git push + git push origin "${{ github.event.inputs.version }}" - name: Build Jars run: mvn --no-transfer-progress clean verify gpg:sign -DskipTests=true -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"