Skip to content

Commit

Permalink
Fix missing plutil command parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmhouston committed Nov 18, 2024
1 parent 6e90749 commit 087e7c5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build+appstoredeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,15 @@ jobs:
${{ steps.build.outputs.log }}
- name: "Patch Version String"
if: ${{ steps.version.outputs.versionsuffix != '' }}
if: ${{ steps.version.outputs.versionsuffix != '' && steps.version.outputs.bareversion != '' }}
run: |
:
echo "- Removing trailing ${{ steps.version.outputs.versionsuffix }} from Info.plist CFBundleShortVersionString"
plutil something-something
test -d "${{ env.builddir }}/${{ env.bundlename }}" || exit 1
echo "- Removing suffix \"${{ steps.version.outputs.versionsuffix }}\" from Info.plist CFBundleShortVersionString"
plutil -replace CFBundleShortVersionString -string \
"${{ steps.version.outputs.bareversion }}" \
"${{ env.builddir }}/${{ env.bundlename }}"
- name: "Codesign App Bundle"
run: |
Expand Down

0 comments on commit 087e7c5

Please sign in to comment.