-
Notifications
You must be signed in to change notification settings - Fork 324
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(release-automation): 💚 stupid hack to add tag in CI #1161
Conversation
.github/workflows/ci.yml
Outdated
- name: Tag Release | ||
if: ${{ steps.release.outputs.release_created }} != 'true' | ||
run: 'git tag -a v${{ steps.release.outputs.ipfs-companion--tag_name }} -m "chore(main): release ipfs-companion ${{ steps.release.outputs.ipfs-companion--tag_name }}"' | ||
|
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.
won't we have to push this tag as well?
https://github.com/search?q=org%3Aipfs+%22git+push+--tags%22&type=Code
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.
good catch, this would've become a head scratcher.
with: | ||
command: manifest-pr | ||
changelog-notes-type: github | ||
- name: Tag Release | ||
if: ${{ steps.release.outputs.release_created }} != 'true' | ||
run: 'git tag -a v${{ steps.release.outputs.ipfs-companion--tag_name }} -m "chore(main): release ipfs-companion ${{ steps.release.outputs.ipfs-companion--tag_name }}" && git push origin v${{ steps.release.outputs.ipfs-companion--tag_name }}' |
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.
nit: you can remove the quotes and put this on multiple lines which would be much cleaner.
This reverts commit 9ea9897.
I opened this issue: https://github.com/google-github-actions/release-please-action/issues/719
Not sure when will that be fixed, in the mean time, this might work.