Skip to content

Commit 281b740

Browse files
authored
Move manifest reading for ios into separate id
1 parent 8e24108 commit 281b740

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/make-rel-ios.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: ${{ matrix.make_target == 'ios' }}
4040
run: yarn run wp-build --env BROWSER=safari --mode=production
4141
- name: Read manifest
42-
id: manifest
42+
id: manifest_ios
4343
uses: zoexx/github-action-json-file-properties@release
4444
if: ${{ matrix.make_target == 'ios' }}
4545
with:
@@ -49,9 +49,9 @@ jobs:
4949
working-directory: ./dist
5050
run: |
5151
xcrun safari-web-extension-converter . --ios-only --force --no-prompt --no-open --bundle-identifier me.octonezd.addon.oldlander
52-
export OL_VERSION=${{steps.manifest.outputs.version}}
52+
export OL_VERSION=${{steps.manifest_ios.outputs.version}}
5353
cat ../dev/ios/index.html | envsubst > OldLander/OldLander/Base.lproj/Main.html
54-
sed -i '' 's/MARKETING_VERSION = 1.0;/MARKETING_VERSION = ${{steps.manifest.outputs.version}};/g' OldLander/OldLander.xcodeproj/project.pbxproj
54+
sed -i '' 's/MARKETING_VERSION = 1.0;/MARKETING_VERSION = ${{steps.manifest_ios.outputs.version}};/g' OldLander/OldLander.xcodeproj/project.pbxproj
5555
cp ../dev/ios/ViewController.swift OldLander/OldLander/
5656
- name: Build ipa
5757
working-directory: ./dist/OldLander

0 commit comments

Comments
 (0)