Skip to content

Commit

Permalink
Fixed travis not uploading releases to github
Browse files Browse the repository at this point in the history
  • Loading branch information
server committed Mar 6, 2020
1 parent b710072 commit 9f4d8b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ before_install:
- mv ~/build/jeroenst/espMQTT ~/Arduino/
- cd ~/Arduino/espMQTT
- ./configure.sh
- git status
- git reset --hard HEAD

script:
- bash build.sh
Expand All @@ -43,6 +41,6 @@ deploy:
provider: releases
token: $GITHUBAPIKEY
file_glob: true
file: /tmp/espMQTT/$TRAVIS_TAG/*.bin
file: ./builds/$TRAVIS_TAG/*.bin
on:
tags: true
2 changes: 2 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh
git submodule update --init --recursive
git submodule foreach git reset --hard
git reset --hard
patch hardware/esp8266com/esp8266/platform.txt < hardware/esp8266com_platform.txt.patch
mv ../hardware ../hardware_espmqtt_backup
mv ../libraries ../include_espmqtt_backup
Expand Down

0 comments on commit 9f4d8b1

Please sign in to comment.