From 8dd8513d1523b3cd8b06061a306aa8222e12cc52 Mon Sep 17 00:00:00 2001 From: Jeffry Hesse Date: Fri, 1 Feb 2019 13:55:10 -0900 Subject: [PATCH] Inline it --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fcf7c83a..5d2315eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,7 @@ language: go go: - 1.11.x before_install: - - export VERSION=$(git describe --abbrev=0 --tags) - - ./bumpver.sh + - export VERSION=$(git describe --abbrev=0 --tags) && export LAST_PREFIX=$(cut -d'.' -f1,2 <<< $VERSION) && export LAST_SUFFIX=$(cut -d'.' -f3 <<< $VERSION) && export NEW_SUFFIX=$(expr "$LAST_SUFFIX" + 1) && export VERSION="$LAST_PREFIX.$NEW_SUFFIX" install: - go mod download script: