Skip to content

Commit

Permalink
ci: Update after-merge workflow to tolerate non-dirty git state
Browse files Browse the repository at this point in the history
Ref #9709
  • Loading branch information
gibson042 committed Jul 16, 2024
1 parent 7bde505 commit 51daaa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/after-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ jobs:
;;
esac
# Prevent `lerna publish` from failing due to uncommitted changes.
git stash
git stash || true
# without concurrency until https://github.com/Agoric/agoric-sdk/issues/8091
yarn lerna publish --concurrency 1 --conventional-prerelease --canary --exact \
--dist-tag=$TAG --preid=$TAG-$(git rev-parse --short=7 HEAD) \
--no-push --no-verify-access --yes
# restore the stashed changes for caching
git stash apply
# restore any stashed changes for caching
git stash apply || true
- name: notify on failure
if: failure()
uses: ./.github/actions/notify-status
Expand Down

0 comments on commit 51daaa5

Please sign in to comment.