kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
99aa6cc009
commit
97bbe6f174
|
@ -64,11 +64,17 @@ if [ "$BUILD" = "osx" ]; then
|
||||||
artifacts/inkstitch-${VERSION}-${OS}.pkg
|
artifacts/inkstitch-${VERSION}-${OS}.pkg
|
||||||
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9.]+$ || $NOTARIZE_DEVELOPMENT_BUILDS == true ]]; then
|
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9.]+$ || $NOTARIZE_DEVELOPMENT_BUILDS == true ]]; then
|
||||||
echo "Notary starting"
|
echo "Notary starting"
|
||||||
bash bin/notarize-app "929A568N58" \
|
echo "Adding keychain item for notarytool"
|
||||||
"${NOTARY_ACCOUNT}" \
|
xcrun notarytool store-credentials "inkstitch-profile" \
|
||||||
"${NOTARY_PASSWORD}" \
|
--apple-id "${NOTARY_ACCOUNT}" \
|
||||||
"org.inkstitch.app" \
|
--team-id '929A568N58' \
|
||||||
artifacts/inkstitch-${VERSION}-${OS}.pkg
|
--password "${NOTARY_PASSWORD}"
|
||||||
|
echo "Invoking notary process"
|
||||||
|
xcrun notarytool submit --wait \
|
||||||
|
--keychain-profile "inkstitch-profile" \
|
||||||
|
artifacts/inkstitch-${VERSION}-${OS}.pkg
|
||||||
|
echo "Stapling the pkg for release"
|
||||||
|
xcrun stapler staple artifacts/inkstitch-${VERSION}-${OS}.pkg
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# local builds will not be signed or notarized
|
# local builds will not be signed or notarized
|
||||||
|
@ -84,7 +90,7 @@ if [ "$BUILD" = "osx" ]; then
|
||||||
fi
|
fi
|
||||||
# Creating the zip for Drag n' Drop install
|
# Creating the zip for Drag n' Drop install
|
||||||
cd dist
|
cd dist
|
||||||
python -m zipfile -c ../artifacts/inkstitch-${VERSION}-${OS}.zip *
|
7z a ../artifacts/inkstitch-${VERSION}-${OS}.zip *
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
cp -a images/examples palettes symbols fonts tiles dbus inx LICENSE VERSION dist/inkstitch
|
cp -a images/examples palettes symbols fonts tiles dbus inx LICENSE VERSION dist/inkstitch
|
||||||
|
@ -123,6 +129,7 @@ EOF
|
||||||
-n inkstitch \
|
-n inkstitch \
|
||||||
-v "$deb_version" \
|
-v "$deb_version" \
|
||||||
-d "inkscape >= 1.0.0" \
|
-d "inkscape >= 1.0.0" \
|
||||||
|
--deb-compression xz \
|
||||||
--license "GPL-3.0" \
|
--license "GPL-3.0" \
|
||||||
--description "An open-source machine embroidery design platform based on Inkscape" \
|
--description "An open-source machine embroidery design platform based on Inkscape" \
|
||||||
--url "https://inkstitch.org" \
|
--url "https://inkstitch.org" \
|
||||||
|
@ -137,6 +144,7 @@ EOF
|
||||||
-n inkstitch \
|
-n inkstitch \
|
||||||
-v "$VERSION" \
|
-v "$VERSION" \
|
||||||
-d "inkscape >= 1.0.0" \
|
-d "inkscape >= 1.0.0" \
|
||||||
|
--rpm-compression xz \
|
||||||
--license "GPL-3.0" \
|
--license "GPL-3.0" \
|
||||||
--description "An open-source machine embroidery design platform based on Inkscape" \
|
--description "An open-source machine embroidery design platform based on Inkscape" \
|
||||||
--url "https://inkstitch.org" \
|
--url "https://inkstitch.org" \
|
||||||
|
|
Ładowanie…
Reference in New Issue