Skip to content

Commit

Permalink
Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bessarabov committed Nov 12, 2023
1 parent 63daf93 commit 2773cb7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
- name: Add version information
run: sed -i "s/VERSION = 'dev';/VERSION = '${{ github.ref_name }}';/" tsv2table

- name: Prepare release_notes
run: cat CHANGELOG.md |grep -E '^${{github.ref_name}}' -A1000|grep -v '```' > release_notes

- name: Create GitHub release
run: gh release create ${{github.ref_name}} -t "Release ${{github.ref_name}}" tsv2table
run: gh release create ${{github.ref_name}} -t "Release ${{github.ref_name}}" --notes-file release_notes tsv2table
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog for tsv2table

```
0.0.6 2023-11-12
[Major]
* dev
0.0.7 2023-11-12
[Major]
* dev
0.0.8 2023-11-12
[Major]
* dev
```

0 comments on commit 2773cb7

Please sign in to comment.