diff options
| -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 |
