mirror of https://github.com/Syncplay/syncplay
Added automatic version numbering for Travis
This commit is contained in:
parent
08c41ddbb1
commit
bd29a0648b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue