Skip to content

Commit f0aefdb

Browse files
committed
ci: osx: reduce chances of failure at deploy step
1 parent 906d18f commit f0aefdb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ci/osx-package.deploy.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ do
7272
((i++))
7373
done
7474

75+
echo
7576
ls
77+
echo " === set ownership === "
7678

77-
find . -name '*.dmg'
78-
79-
sudo chown "$(whoami)" ./*.dmg
79+
sudo chown "$(whoami)" ./score.dmg
8080

8181
# Notarize the .dmg
8282
echo " === notarize === "
@@ -85,19 +85,19 @@ if [[ "${CI_IS_AZURE}" = "1" ]]; then
8585
fi
8686

8787
xcrun notarytool \
88-
submit *.dmg \
88+
submit score.dmg \
8989
--team-id "GRW9MHZ724" \
9090
--apple-id "[email protected]" \
9191
--password "$MAC_ALTOOL_PASSWORD" \
9292
--progress \
9393
--wait
9494

9595
# Staple
96-
xcrun stapler staple ./*.dmg
97-
xcrun stapler validate ./*.dmg
96+
xcrun stapler staple ./score.dmg
97+
xcrun stapler validate ./score.dmg
9898

9999
[[ $? == 0 ]] || exit 1
100100

101101
# Archive
102-
mv ./*.dmg "$BUILD_ARTIFACTSTAGINGDIRECTORY/ossia score-$TAG-macOS-$PACKAGE_ARCH.dmg"
102+
mv ./score.dmg "$BUILD_ARTIFACTSTAGINGDIRECTORY/ossia score-$TAG-macOS-$PACKAGE_ARCH.dmg"
103103
mv "mac-sdk.zip" "$BUILD_ARTIFACTSTAGINGDIRECTORY/mac-sdk-$PACKAGE_ARCH.zip"

0 commit comments

Comments
 (0)