commit | 05797a5cab15509bb38c360286f68fd7353ab7d7 | [log] [tgz] |
---|---|---|
author | Jesse Seales <jseales@google.com> | Wed Mar 15 22:05:33 2023 +0000 |
committer | CQ Bot Account <flutter-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 15 22:05:33 2023 +0000 |
tree | 2f55b928955f1cac66339a1fa527a9a47c234953 | |
parent | f7742a5a0f0e68acf2c51f10578f1297f5e916dd [diff] |
fix ambiguous error Change-Id: I1ced6d7286c3bd8514f21433cf0aace8cbb0ef12 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/40521 Reviewed-by: Godofredo Contreras <godofredoc@google.com> Commit-Queue: Jesse Seales <jseales@google.com>
diff --git a/recipes/release/release_publish.resources/push_release.sh b/recipes/release/release_publish.resources/push_release.sh index 1f4a943..653838e 100644 --- a/recipes/release/release_publish.resources/push_release.sh +++ b/recipes/release/release_publish.resources/push_release.sh
@@ -3,11 +3,11 @@ # Helper script to run auth and git authenticated commands from the same # terminal context. -set -e +set -ex gh --version gh auth login --hostname github.com --git-protocol https --with-token < $TOKEN_PATH gh auth setup-git -git tag $TAG $RELEASE_GIT__HASH || true -git rev-list -n 1 $GIT_BRANCH +git tag $TAG $RELEASE_GIT_HASH || true +git rev-list -n 1 origin/$GIT_BRANCH $DRY_RUN_CMD git push origin $TAG || true $DRY_RUN_CMD git push origin HEAD:$RELEASE_CHANNEL