Added automatic version numbering for Travis

This commit is contained in:
alby128 2018-01-08 15:20:35 +01:00
parent 08c41ddbb1
commit bd29a0648b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ before_deploy:
- mv resources/lua/intf/syncplay.lua resources/lua/intf/.syncplay.lua - mv resources/lua/intf/syncplay.lua resources/lua/intf/.syncplay.lua
- mv resources/macOS_readme.pdf resources/.macOS_readme.pdf - mv resources/macOS_readme.pdf resources/.macOS_readme.pdf
- export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')" - export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
- dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay_$(VER)_macOS.dmg - dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay_${VER}_macOS.dmg
deploy: deploy:
on: master_local on: master_local