feat: created update change log file #16
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| tags: | |
| - "*" | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Perform release | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Cocogitto release | |
| id: release | |
| uses: cocogitto/cocogitto-action@v3 | |
| with: | |
| release: true | |
| git-user: "Cog Bot" | |
| git-user-email: "mycoolproject@org.org" | |
| - name: Generate Changelog | |
| run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md | |
| - name: Upload github release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| body_path: GITHUB_CHANGELOG.md | |
| tag_name: ${{ steps.release.outputs.version }} |