Skip to content

Commit

Permalink
ci: inject CI-dependent variables into envfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Apr 3, 2022
1 parent 74b67dd commit 633f7a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
UPLOAD_KEYSTORE_KEY_ALIAS: ${{ secrets.UPLOAD_KEYSTORE_KEY_ALIAS }}
UPLOAD_KEYSTORE_KEY_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_KEY_PASSWORD }}
SENTRY_PROJECT: ${{ matrix.platform }}-app
SENTRY_RELEASE: ${{ matrix.platform }}-app@${{ needs.prepare.outputs.release-version }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -118,6 +117,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pods-
- name: Inject CI-dependent environment variables
run: |
echo 'SENTRY_RELEASE=${{ matrix.platform }}-app@${{ needs.prepare.outputs.release-version }}' >> config/.env.next.${{ matrix.platform }}
- run: npm ci

- run: npm run prepare-release:${{ matrix.platform }} -- app_env:next is_next_release:true
Expand Down

0 comments on commit 633f7a7

Please sign in to comment.