Skip to content

Commit 29fe495

Browse files
authored
Merge pull request Expensify#60363 from Expensify/andrew-prod-tags
Start tagging production in addition to staging deploys
2 parents e37d15d + d5597ae commit 29fe495

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ jobs:
4545
id: getAppVersion
4646
run: echo "VERSION=$(jq -r .version < package.json)" >> "$GITHUB_OUTPUT"
4747

48-
- name: Get tag name
48+
- name: Get tag
4949
id: getTagName
5050
run: echo "TAG=${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) && steps.getAppVersion.outputs.VERSION || format('{0}-staging', steps.getAppVersion.outputs.VERSION) }}" >> "$GITHUB_OUTPUT"
5151

5252
- name: Create and push tag
53-
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
5453
run: |
5554
git tag ${{ steps.getTagName.outputs.TAG }}
5655
git push origin --tags

.github/workflows/finishReleaseCycle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Prepare production deploy
1+
name: Finish release cycle
22

33
on:
44
issues:

0 commit comments

Comments
 (0)