Skip to content

Commit

Permalink
added tar for update continuity
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Jul 1, 2021
1 parent 8ceedf6 commit d3c7926
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ echo "Signing the binary..."
codesign -s "${XBAR_SIGNING_IDENTITY}" -o runtime -v "./xbar.app/Contents/MacOS/xbar"

echo "Creating DMG..."

create-dmg ./xbar.app --overwrite --identity="${XBAR_SIGNING_IDENTITY}" --dmg-title "Install xbar"
mv xbar*.dmg "xbar.${VERSION}.dmg"

echo "TARing..."
tar -czvf xbar.${VERSION}.tar.gz ./xbar.app

echo "Zipping..."
zip -r xbar.zip ./xbar.app
mv xbar.zip "xbar.${VERSION}.zip"
Expand All @@ -100,6 +102,7 @@ echo "Notorizing..."

notarizefile "xbar.${VERSION}.zip" "com.xbarapp.app"
notarizefile "xbar.${VERSION}.dmg" "com.xbarapp.app"
xcrun stapler staple "xbar.${VERSION}.dmg"

rm -rf ./build/bin/xbar.app

Expand Down

0 comments on commit d3c7926

Please sign in to comment.