Skip to content

Commit d08f539

Browse files
committed
- automate tagging and releasing docker image and zip package
1 parent 9e33cfc commit d08f539

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ cache:
1515
- "$HOME/.gradle/caches/"
1616
- "$HOME/.gradle/wrapper/"
1717
before_deploy:
18+
- git config --local user.name "Jacek Spólnik"
19+
- git config --local user.email "jacek.spolnik@gmail.com"
20+
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
1821
- "./gradlew releaseZip"
1922
deploy:
2023
- provider: releases
@@ -24,8 +27,8 @@ deploy:
2427
file: "./build/libs/JAlgoArena-Judge-*.zip"
2528
skip_cleanup: true
2629
on:
27-
tags: true
30+
tags: false
2831
- provider: script
2932
script: bash docker_push
3033
on:
31-
tags: true
34+
tags: false

0 commit comments

Comments
 (0)