GHA: don't remove macosx tar.gz with the maven build. Strict filter to upload linux tar.gz to s3

This commit is contained in:
aboyko
2023-07-19 13:34:33 -04:00
parent 728c2040dd
commit 9c78ae24cc
3 changed files with 29 additions and 13 deletions

View File

@@ -41,8 +41,8 @@ echo "Sign $dmg_filename"
codesign --verbose --deep --force --timestamp --keychain $KEYCHAIN -s $MACOS_CERTIFICATE_ID $dmg_filename
echo "Notarizing $dmg_filename"
xcrun notarytool submit ${dmg_filename} --keychain-profile notarize-app-dmg-profile --wait &
#echo "Creating checksums sha-256 and md5 for ${file}"
#shasum -a 256 $filename > ${filename}.sha256
#md5 $filename > ${filename}.md5
(xcrun notarytool submit ${dmg_filename} --keychain-profile notarize-app-dmg-profile --wait \
&& echo "Staple and generate checksums" \
&& xcrun stapler staple $dmg_filename \
&& shasum -a 256 $dmg_filename > ${dmg_filename}.sha256 \
&& md5 $dmg_filename > ${dmg_filename}.md5) &