Skip to content

Commit

Permalink
fix: minor changes to CI to try to make changelog release work
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed May 2, 2024
1 parent bfa66d8 commit 333769f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cocogitto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{secrets.RELEASE_TOKEN}}

- name: semver release with cocogitto
uses: oknozor/cocogitto-action@v3
Expand All @@ -45,10 +46,12 @@ jobs:
run: "echo '${{ steps.release.outputs.version }}'"

- name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t remote > GITHUB_CHANGELOG.md
run: |
cog changelog --at ${{ steps.release.outputs.version }} -t remote > GITHUB_CHANGELOG.md
pwd && ls
- name: Upload GitHub release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
body_path: GITHUB_CHANGELOG.md
tag_name: ${{ steps.release.outputs.version }}

0 comments on commit 333769f

Please sign in to comment.