Skip to content

Commit 7124155

Browse files
committed
fix(*): fix semantic-release
1 parent 1008d99 commit 7124155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
node_js:
1717
- "12"
1818
script:
19-
- TAG=`git rev-parse --short ${TRAVIS_COMMIT}`
19+
- TAG=`git rev-parse --short=4 ${TRAVIS_COMMIT}`
2020
- echo "$DOCKERHUB_PASSWORD" | docker login --username "$DOCKERHUB_LOGIN" --password-stdin
21-
- docker build . -t fossapps/micro.starter --build-arg VERSION=$TAG
21+
- docker build . -t fossapps/micro.starter --build-arg VERSION=$TAG
2222
- docker run -it --rm -d -p 5000:5000 fossapps/micro.starter
2323
- sh ./Micro.Starter.UnitTest/ExternalTests/postman_tests.sh
2424
- docker tag fossapps/micro.starter fossapps/micro.starter:$TAG

0 commit comments

Comments
 (0)