[CI] recover tag name from TRAVIS instead of having it hardcoded (#505)
This commit is contained in:
1 parent
7384455fb9
commit
17809b9d78
3 files changed
+4
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user