-
Notifications
You must be signed in to change notification settings - Fork 87
fix(ci): add publishing tags step when publishing auxiliary packages MONGOSH-1871 #2332
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
Changes from 1 commit
e0a051c
de6927b
e9e09cd
0f85b12
8014b75
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,3 +58,10 @@ jobs: | |
| npm config list | ||
| echo "Publishing packages as $(npm whoami)" | ||
| npm run publish-auxiliary | ||
|
|
||
| - name: "Publish tags" | ||
| run: | | ||
| npx lerna list -a --json | \ | ||
| jq -r '.[] | select(.name != "mongosh") | .name + "@" + .version' | \ | ||
|
||
| xargs -i sh -c "git tag -a {} -m {} || true" | ||
| git push --follow-tags | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
essentially same as https://github.com/mongodb-js/compass/blob/main/.github/workflows/publish-packages.yaml#L60 with one adjustment to not push tags for
mongoshin this case