Skip to content

Commit

Permalink
scripts/release: logging release version
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed Aug 18, 2020
1 parent fd9a5b0 commit bdd5784
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ main() {
echo "Wrong etcd version in version/version.go. Expected ${etcd_version} but got ${VERSION}. Aborting."
exit 1
fi
echo "bin/etcd --version:"
bin/etcd --version
sleep 3

if [[ ! -z $(git status -s) ]]; then
echo "Committing version/version.go update."
Expand Down Expand Up @@ -152,6 +155,9 @@ main() {
# Sanity checks.
./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version | grep -q "etcd Version: ${VERSION}" || true
./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcdctl version | grep -q "etcdctl version: ${VERSION}" || true
echo "./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version:"
./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version
sleep 3

# Upload artifacts.
if [ "${NO_UPLOAD}" == 1 ]; then
Expand Down

0 comments on commit bdd5784

Please sign in to comment.