Skip to content

Commit d58b597

Browse files
robingenzclaude
andcommitted
Revert "ci: the fresh app's core pod is pinned at the package's hotcodepush.coreIos"
This reverts commit e227861. The baseline names the demo at a1c6acb, whose CLI at 98f1fff reads hotcodepush.coreIos: the CLI wires the fresh app's Podfile and installs the pods itself again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1fb6e29 commit d58b597

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ jobs:
145145
- name: Drop the iOS project, whose pod install needs macOS
146146
if: matrix.platform == 'android'
147147
run: rm -rf app/ios
148-
# The CLI the demo pins reads the iOS core's commit under the key's old name: until the demo pins one that reads
149-
# hotcodepush.coreIos, it wires the app with the Podfile set aside, and the core's pod is pinned below at this
150-
# package's commit, as prepare-demo.mjs pins the demo's.
151-
- name: Set the Podfile aside from the CLI the demo pins
152-
if: matrix.platform == 'ios'
153-
run: mv app/ios/Podfile "$RUNNER_TEMP/Podfile"
154148
# init signs in before it configures and wires, which a pipeline cannot: the demo's hotcodepush.json stands in
155149
# for its configuration step, and its hook step is the CLI's own wiring module, called as init --yes calls it.
156150
- name: Configure and wire the app as init does
@@ -164,14 +158,6 @@ jobs:
164158
const wiring = await reactNativeFramework.resolveWiring(project, { yes: true });
165159
console.log((await wiring.wireBinaryCreateStep(undefined)).message);
166160
"
167-
- name: Pin the core's pod at the package's hotcodepush.coreIos and install the pods
168-
if: matrix.platform == 'ios'
169-
working-directory: app/ios
170-
run: |
171-
commit=$(node -p "require('../node_modules/@hotcodepush/react-native-code-push/package.json').hotcodepush.coreIos")
172-
awk -v pod=" pod 'HotCodePushCore', :git => 'https://github.com/hotcodepush-team/core-ios.git', :commit => '$commit'" \
173-
'{ print } /use_native_modules!/ { print pod }' "$RUNNER_TEMP/Podfile" > Podfile
174-
pod install
175161
- name: Build the Android release and check the build step wrote hotcodepush.json
176162
if: matrix.platform == 'android'
177163
working-directory: app/android

0 commit comments

Comments
 (0)