Skip to content

Commit

Permalink
fix(release-automation): 💚 stupid hack to add tag in CI (#1161)
Browse files Browse the repository at this point in the history
* fix(release-automation): 💚 stupid hack to add tag in CI

* fix(release-automation): 🐛 push after tagging
  • Loading branch information
whizzzkid authored Feb 22, 2023
1 parent 1a6495d commit 9ea9897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,13 @@ jobs:
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
steps:
- uses: google-github-actions/[email protected]
id: release
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 }}'

release-assets:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9ea9897

Please sign in to comment.