From 838bc7717d1d2d0f573b9b6186fad9ed7546593d Mon Sep 17 00:00:00 2001 From: DanVanAtta Date: Mon, 14 Sep 2020 00:37:41 -0700 Subject: [PATCH] Build update: Add prefix number to build number and update commentary --- .travis/push_tag | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis/push_tag b/.travis/push_tag index b164cfa..ffb2719 100755 --- a/.travis/push_tag +++ b/.travis/push_tag @@ -9,10 +9,11 @@ readonly REPO_URL="https://${BOT_AUTH_TOKEN}@github.com/triplea-game/assets.git" git config --global user.email "tripleabuilderbot@gmail.com" git config --global user.name "tripleabuilderbot" -## Add a '1' prefix to the build number to avoid -## collisions. A travis migration to travic-ci.com -## reset the build numbers. -RELEASE_NUMBER="1$TRAVIS_BUILD_NUMBER" -git tag "$RELEASE_NUMBER" -a -f -m "$RELEASE_NUMBER" +## Add a '2' prefix to increment the build number. +## The build numbers are out of order, the '2' will ensure +## the latest tag is actually the latest build + +RELEASE_NUMBER="$TRAVIS_BUILD_NUMBER" +git tag "2$RELEASE_NUMBER" -a -f -m "2$RELEASE_NUMBER" git push -q "$REPO_URL" --tags