From bd29a0648b202888db46da2b2470554f91f64e1c Mon Sep 17 00:00:00 2001 From: alby128 Date: Mon, 8 Jan 2018 15:20:35 +0100 Subject: [PATCH] Added automatic version numbering for Travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 26836c0..ce3f7d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ before_deploy: - mv resources/lua/intf/syncplay.lua resources/lua/intf/.syncplay.lua - mv resources/macOS_readme.pdf resources/.macOS_readme.pdf - 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: on: master_local