Skip to content

Commit 61a9450

Browse files
authored
Merge pull request #16 from erssebaggala/set_draft_tag_to_vX.X.X
Upload release assets to the same draft release tagged with the version
2 parents 429741d + f718971 commit 61a9450

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.travis.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ before_deploy:
1818
- DRAFT_TAG=v$TRAVIS_TAG
1919
- zip -r bts-ce-web-${TRAVIS_TAG}.zip build/*
2020
deploy:
21-
provider: releases
22-
api_key: $GH_TOKEN
23-
file:
24-
- bts-ce-web-${TRAVIS_TAG}.zip
25-
draft: true
26-
skip_cleanup: true
27-
overwrite: true
28-
tag_name: $DRAFT_TAG
29-
on:
30-
branch: "master"
21+
provider: releases
22+
api_key: $GH_TOKEN
23+
file:
24+
- bts-ce-web-${TRAVIS_TAG}.zip
25+
tag_name: $DRAFT_TAG
26+
target_commitish: $TRAVIS_BRANCH
27+
name: $DRAFT_TAG
28+
draft: true
29+
skip_cleanup: true
30+
overwrite: true
31+
on:
32+
branch: "master"
33+
34+

0 commit comments

Comments
 (0)