diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-04 16:36:19 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-04 16:36:19 -0400 |
| commit | 7805e0799dea82116fa39d4e5f4771111840142c (patch) | |
| tree | d9b5d3f64010b69b7cc5735089dd86e6b740b902 | |
| parent | 59699f197f4d3be053f68108780cd4e379d18a32 (diff) | |
tweaks
Former-commit-id: ea89c41bc01316587e010b8760f76a6353a27ced
| -rwxr-xr-x | make_desktop.sh | 9 | ||||
| -rwxr-xr-x | maketag.sh | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/make_desktop.sh b/make_desktop.sh index dab9d05a..3fe6fb5a 100755 --- a/make_desktop.sh +++ b/make_desktop.sh @@ -15,7 +15,10 @@ for i in "${app_ports[@]}" do if [ -d "$i" ]; then DIRNAME=`expr "$i" : '\.\./\(.*\)/'` - ZIPNAME=$DIRNAME".zip" + echo "Dirname:" $DIRNAME + PDIRNAME=`echo "$DIRNAME" | sed "s/\/Contents//" ` + echo "Pdirname:" $PDIRNAME + ZIPNAME="${PDIRNAME}_${APPVER}.zip" echo "------------------------------------------------------------------------" echo "Working on packaging $i" echo "------------------------------------------------------------------------" @@ -34,8 +37,10 @@ if [ -d "$i" ]; then exe asar pack app app.asar exe rm -fr app exe cd - - #echo "creating build ZIP" + #OSX ditto does a better job than zip! + #echo "Creating ZIP $ZIPNAME..." #exe zip -r ../$ZIPNAME ../$DIRNAME + echo "Done!" else @@ -3,5 +3,5 @@ read -p "Please generate CHANGELOG and commit it BEFORE you tag. Press a key whe orig=$1 VER="${orig/v//}" echo "Creating tag:$VER" -git tag -fa v$VER -m'v$VER' +git tag -fa v$VER -m"v$VER" git push -f --tags |
