Skip to content

Commit 30e6075

Browse files
committed
ci: work around tagging issue in Travis CI deployment
When `draft: true` is set, incorrect commit/tag information is sent to Github. Override tag/target fields for correct behavior. Ref. https://github.com/travis-ci/travis-ci/issues/9852
1 parent f776454 commit 30e6075

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ deploy:
5050
api_key:
5151
secure: A4FBmqyhlzy33oPeZVolg2Q/A3ZcJ3WnRQqQJ3NAPy+qGM5xcboOYtwcLL9vKaHZGfUB7lUP9QVZFGou1Wrmo9DnPvAoe3+XvCaDRGzVMxeIpu7UStbBD4Knbh98tlbMvZCXYRlT4VcusI9bMLK6UWw4sMdPislBh2FEfglTiag=
5252
file_glob: true
53+
tag_name: $TRAVIS_TAG
54+
target_commitish: $TRAVIS_COMMIT
5355
file:
5456
- package/versions/$TRAVIS_TAG/esp8266-$TRAVIS_TAG.zip
5557
- package/versions/$TRAVIS_TAG/package_esp8266com_index.json

0 commit comments

Comments
 (0)