[CI] recover tag name from TRAVIS instead of having it hardcoded (#505)

This commit is contained in:
Florian authored and GitHub committed 2019-12-07 15:00:40 +01:00
1 parent 7384455fb9
commit 17809b9d78
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -37,6 +37,8 @@ matrix:
- rm /home/travis/build/1technophile/OpenMQTTGateway/main/User_config.h
- cp /home/travis/build/1technophile/OpenMQTTGateway/test/Test_config.h /home/travis/build/1technophile/OpenMQTTGateway/main//User_config.h
script:
- sed -i 's/version_tag/'$TRAVIS_TAG'/g' main/User_config.h
- sed -i 's/version_tag/'$TRAVIS_TAG'/g' test/Test_config.h
- platformio run
- bash scripts/prepare_deploy.sh
before_deploy: ls -a