Skip to content

Commit 0031fe7

Browse files
committed
Re-create entitlements and build_settings files in sign job
1 parent 2de03e1 commit 0031fe7

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,22 @@ jobs:
5555
working-directory: /tmp/QS/build/Release/
5656
run: |
5757
tar -xzvf ./dmg_ingredients.tar.gz
58-
mv \
59-
./dmg/qs_build_settings \
60-
./dmg/Quicksilver.entitlements \
61-
/tmp/
62-
QS_INFO_VERSION=$(
63-
awk '/QS_INFO_VERSION/ { print $NF }' /tmp/qs_build_settings
58+
QS_INFO_VERSION=$(\
59+
/usr/libexec/PlistBuddy \
60+
-c 'Print :CFBundleShortVersionString' \
61+
./dmg/Quicksilver.app/Contents/Info.plist
6462
)
6563
echo "QS_INFO_VERSION=${QS_INFO_VERSION}" >> "${GITHUB_ENV}"
64+
cat > /tmp/qs_build_settings <<-EOF
65+
QS_INFO_VERSION = ${QS_INFO_VERSION}
66+
BUILT_PRODUCTS_DIR = /tmp/QS/build/Release
67+
EOF
6668
- uses: actions/checkout@v4
6769
with:
6870
submodules: recursive
71+
- name: Prepare signing inputs
72+
run: |
73+
cp Quicksilver/Quicksilver.entitlements /tmp/Quicksilver.entitlements
6974
- name: qssign
7075
working-directory: Quicksilver
7176
env:

0 commit comments

Comments
 (0)