Skip to content

Commit 5ff4b04

Browse files
authored
Update .travis.yml
1 parent 54ab127 commit 5ff4b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ cache:
2626
- $HOME/.gradle/caches/
2727
- $HOME/.gradle/wrapper/
2828
before_deploy:
29-
- cp build/libs/NyaaCore.jar ./NyaaCore-$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION.jar
30-
- export GIT_TAG=$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION
29+
- cp build/libs/NyaaCore.jar ./NyaaCore-v$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION.jar
30+
- export GIT_TAG=v$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION
3131
- export GIT_ORIGIN_URL=`git config --get remote.origin.url`
3232
- git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
3333
- git config credential.helper "store --file=.git/credentials"
@@ -50,7 +50,7 @@ deploy:
5050
provider: releases
5151
prerelease: true
5252
api_key: $GITHUB_OAUTH_TOKEN
53-
file: ./NyaaCore-$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION.jar
53+
file: ./NyaaCore-v$PLUGIN_VERSION.$TRAVIS_BUILD_NUMBER-mc$MC_VERSION.jar
5454
on:
5555
tags: false
5656
all_branches: true

0 commit comments

Comments
 (0)