From bfdf63ea7a1226c3c60f5af14ca22a50a2742af3 Mon Sep 17 00:00:00 2001 From: DanVanAtta Date: Mon, 14 Sep 2020 00:33:18 -0700 Subject: [PATCH] Build update: Add prefix number to build number and update commentary --- .travis/push_tag | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis/push_tag b/.travis/push_tag index b164cfa..bb1f2ae 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. +## 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="1$TRAVIS_BUILD_NUMBER" -git tag "$RELEASE_NUMBER" -a -f -m "$RELEASE_NUMBER" +git tag "2$RELEASE_NUMBER" -a -f -m "2$RELEASE_NUMBER" git push -q "$REPO_URL" --tags