Skip to content

Commit 453838c

Browse files
authored
Use 'HEAD' in VERSION file on master branch. (#129)
1 parent 07919eb commit 453838c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.0
1+
HEAD

release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ versioned_release_branch="release-${version}"
55

66
if [[ -z "${version}" ]]; then
77
echo "Please provide a version: ./release.sh {VERSION}"
8-
echo "The current version is: $(cat VERSION)"
8+
echo "Look up latest version on https://github.com/Stackdriver/stackdriver-prometheus-sidecar/tags."
99
exit 1
1010
fi
1111

@@ -19,6 +19,8 @@ fi
1919
################################
2020

2121
# 1. Update file `VERSION` with the numeric version, e.g. `0.3.1`.
22+
# VERSION file is required by building tool promu:
23+
# https://github.com/prometheus/promu
2224
echo "${version}" > VERSION
2325

2426
# 2. Create a git branch for the version, e.g. `release-0.3.1`.

0 commit comments

Comments
 (0)