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(release-automation): 💚 stupid hack to add tag in CI #1161

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

whizzzkid
Copy link
Contributor

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.

Comment on lines 106 to 109
- 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 }}"'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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 }}'
Copy link
Member

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.

@whizzzkid whizzzkid merged commit 9ea9897 into main Feb 22, 2023
@whizzzkid whizzzkid deleted the fix/create-tag-from-ci branch February 22, 2023 20:27
whizzzkid added a commit that referenced this pull request Feb 22, 2023
whizzzkid added a commit that referenced this pull request Feb 22, 2023
Revert "fix(release-automation): 💚 stupid hack to add tag in CI (#1161)"

This reverts commit 9ea9897.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants