Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lerna git sha appening to canary #2656

Merged
merged 2 commits into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Release nightly

# only one per github sha can be run
concurrency:
group: ${{ github.sha }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Release

# only one can tun at a time
concurrency: cd-release

on:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"benchmark": "lerna run benchmark",
"cli": "node --trace-deprecation --max-old-space-size=8192 ./packages/cli/bin/lodestar",
"publish": "lerna publish from-package --yes --no-verify-access",
"publish-nightly": "lerna publish --yes --no-verify-access --canary --dist-tag next",
"publish-nightly": "lerna publish --yes --no-verify-access --canary --preid next.$(git rev-parse HEAD) --dist-tag next",
"release": "lerna version --no-push --sign-git-commit",
"postrelease": "git tag -d $(git describe --abbrev=0)"
},
Expand Down