File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
33version=" $1 "
44versioned_release_branch=" release-${version} "
5- versioned_release_tag=" v${version} "
65
76if [[ -z " ${version} " ]]; then
87 echo " Please provide a version: ./release.sh {VERSION}"
@@ -35,12 +34,12 @@ DOCKER_IMAGE_NAME="gcr.io/stackdriver-prometheus/stackdriver-prometheus-sidecar"
3534# ###############################
3635# Push branch and tag to GitHub
3736# ###############################
38- # 1. Tag the commit to a specific version, e.g. `v0 .3.1`.
39- git tag " ${versioned_release_tag } "
37+ # 1. Tag the commit to a specific version, e.g. `0 .3.1`.
38+ git tag " ${version } "
4039
4140# 2. Push release branch to GitHub.
4241git push https://github.com/Stackdriver/stackdriver-prometheus-sidecar.git " ${versioned_release_branch} "
4342
4443# 3. Push tag to GitHub.
45- git push https://github.com/Stackdriver/stackdriver-prometheus-sidecar.git " ${versioned_release_tag } "
44+ git push https://github.com/Stackdriver/stackdriver-prometheus-sidecar.git " ${version } "
4645
You can’t perform that action at this time.
0 commit comments