Skip to content

Commit

Permalink
script for release
Browse files Browse the repository at this point in the history
  • Loading branch information
fuji246 committed Jun 5, 2019
1 parent 27eb0b3 commit b07f38e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

set -e

#rm -rf build/LomoAgent.dmg
rm -rf build/LomoAgent.dmg
appdmg LomoAgent/Assets.xcassets/dmg.json build/LomoAgent.dmg
dependencies/licenseDMG.py build/LomoAgent.dmg dependencies/lomoware_license.rtf

cd build
zip -r LomoAgent.zip LomoAgent.app
6 changes: 6 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

releaseStr=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" LomoAgent/Info.plist)
echo $releaseStr
hub release create -a build/LomoAgent.dmg -a build/LomoAgent.zip -m $releaseStr $releaseStr

0 comments on commit b07f38e

Please sign in to comment.