-
Notifications
You must be signed in to change notification settings - Fork 100
chore: update to github actions and npm trusted publishing #2800
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
base: master
Are you sure you want to change the base?
Conversation
| - name: Get latest release tag | ||
| id: get-tag | ||
| run: | | ||
| TAG=$(gh api repos/${{ github.repository }}/releases/latest --jq .tag_name) | ||
| echo "tag=$TAG" >> $GITHUB_OUTPUT | ||
| env: | ||
| GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_TOKEN }} |
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.
I've just started noticing that this is not getting the correct tag for the summary in the next step.
https://github.com/contentful/contentful-management.js/actions/runs/19354829208#summary-55378237318
I'm putting together a PR in the OSS template that uses git describe instead to get the correct tag. https://github.com/contentful/open-source-project-template/pull/33/files
Can update now or wait til later since our other repos will need to be updated also.
Summary
Description
Motivation and Context
Checklist (check all before merging)
When adding a new method:
./lib/export-types.ts