Skip to content

Commit

Permalink
Merge pull request #43935 from Expensify/revert-43823-fix/sourcemaps-…
Browse files Browse the repository at this point in the history
…not-uploaded

[CP Staging] Revert "fix: CI upload source maps when deploying a new app version"

(cherry picked from commit 0dde99d)
  • Loading branch information
luacmartins authored and OSBotify committed Jun 18, 2024
1 parent 4bb32c7 commit 2705271
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: android-sourcemap
path: android/app/build/generated/sourcemaps/react/productionRelease/index.android.bundle.map
path: android/app/build/generated/sourcemaps/react/release/*.map

- name: Upload Android version to GitHub artifacts
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
Expand Down
5 changes: 0 additions & 5 deletions ios/.xcode.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@
# For example, to use nvm with brew, add the following line
# . "$(brew --prefix nvm)/nvm.sh" --no-use
export NODE_BINARY=$(command -v node)

# Provide a sourcemap path so that in release builds a source map file will be
# created at the specified location.
# (RN's default behaviour on iOS is to skip creating a sourcemap file):
export SOURCEMAP_FILE="$(pwd)/../main.jsbundle.map";
2 changes: 1 addition & 1 deletion workflow_tests/assertions/platformDeployAssertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function assertAndroidJobExecuted(workflowResult: Step[], didExecute = true, isP
steps.push(
createStepAssertion('Archive Android sourcemaps', true, null, 'ANDROID', 'Archiving Android sourcemaps', [
{key: 'name', value: 'android-sourcemap'},
{key: 'path', value: 'android/app/build/generated/sourcemaps/react/productionRelease/index.android.bundle.map'},
{key: 'path', value: 'android/app/build/generated/sourcemaps/react/release/*.map'},
]),
);
if (!isProduction) {
Expand Down

0 comments on commit 2705271

Please sign in to comment.