aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Miller-Cushon <cushon@google.com>2022-01-31 16:13:11 -0800
committerGitHub <noreply@github.com>2022-01-31 16:13:11 -0800
commit69799747b38ad42bf51ad4c2e67f2f8a12bd8a17 (patch)
tree14835a44053812229e183b779409c88ddba94057
parent05c5649ff1549d07be1c9557715a2bf267c5440c (diff)
downloadgoogle-java-format-69799747b38ad42bf51ad4c2e67f2f8a12bd8a17.tar.gz
Update release.yml
Try to only push the new tag
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 08619cd..7bf270b 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 }}"