Skip to content

Commit

Permalink
update prod release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Jun 22, 2023
1 parent c7afdf0 commit 40796de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cut-minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
with:
env: quai-sandbox
awk : sed -e "s/pre/rc/g" | read a; if [[ "$a" =~ "rc" ]];then echo $a | awk -F . '{print $1"."$2"."$3"."$4+1}';else echo $a; fi
awk : sed -e "s/pre/rc/g" | awk -F . '{print $1"."$2"."$3"."$4+1}'
rails: '[[ ! "$VERSION" =~ "pre" ]]'
branch: ${{ needs.cutReleaseCandidate.outputs.branch }}
needs: [cutReleaseCandidate]
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
with:
env: quai-prod
awk: sed "s/-.*//g" | awk -F. '{print $1"."$2"."$3+1}'
awk: sed "s/-.*//g" | awk -F. '{print $1"."$2"."$3+1"-rc.0"}'
rails: '[[ ! "$VERSION" =~ "rc" ]] && [[ ! "$VERSION" =~ "pre" ]]'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
with:
env: quai-sandbox
awk: sed -e "s/pre/rc/g" | read a; if [[ "$a" =~ "rc" ]];then echo $a | awk -F . '{print $1"."$2"."$3"."$4+1}';else echo $a; fi
awk: sed -e "s/pre/rc/g" | awk -F . '{print $1"."$2"."$3"."$4+1}'
rails: '[[ ! "$VERSION" =~ "pre" ]]'

0 comments on commit 40796de

Please sign in to comment.