chore(workflow): improve graduate fallback release
This commit is contained in:
2
.github/workflows/version-bump.yml
vendored
2
.github/workflows/version-bump.yml
vendored
@@ -53,10 +53,12 @@ jobs:
|
|||||||
id: graduateRelease
|
id: graduateRelease
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: yarn release:prod:graduate
|
run: yarn release:prod:graduate
|
||||||
|
|
||||||
- name: Bump Prod Version Fallback
|
- name: Bump Prod Version Fallback
|
||||||
if: ${{ always() && github.ref == 'refs/heads/main' && steps.graduateRelease.outcome == 'failure' }}
|
if: ${{ always() && github.ref == 'refs/heads/main' && steps.graduateRelease.outcome == 'failure' }}
|
||||||
run: |
|
run: |
|
||||||
echo Falling back to non-graduate release due to https://github.com/lerna/lerna/issues/2532
|
echo Falling back to non-graduate release due to https://github.com/lerna/lerna/issues/2532
|
||||||
|
git stash
|
||||||
yarn release:prod
|
yarn release:prod
|
||||||
|
|
||||||
- name: Bump Beta Version
|
- name: Bump Beta Version
|
||||||
|
|||||||
Reference in New Issue
Block a user