Skip to content

Commit b37fad4

Browse files
committed
fix tag name on stable branch
1 parent fa517c2 commit b37fad4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ install:
4444

4545
before_script:
4646
# Set baseimage.
47-
# remove pqchecker if arch is not amd64
4847
- sed -i -e "s/FROM \(.*\)/FROM \1-${TARGET_ARCH}/g" image/Dockerfile;
48+
# remove pqchecker if arch is not amd64
4949
- if [[ "${TARGET_ARCH}" != 'amd64' ]]; then
5050
sed -i -e "/PQCHECKER/Id" image/Dockerfile;
5151
fi
@@ -55,6 +55,9 @@ before_script:
5555
- if [ -n "$TRAVIS_TAG" ]; then
5656
VERSION=$(echo "${TRAVIS_TAG}" | sed -e 's/\(.*\)[-v]\(.*\)/\1\2/g');
5757
fi
58+
- if [ "${TRAVIS_BRANCH}" == 'stable' ]; then
59+
VERSION="stable";
60+
fi
5861

5962
script:
6063
- make build-nocache NAME=${NAME} VERSION=${VERSION}-${TARGET_ARCH}

0 commit comments

Comments
 (0)