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 b00b96c commit 517981e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
README.md export-ignore
tests/ export-ignore
9 changes: 5 additions & 4 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Prepare release and create GitHub release
run: |
gh release create ${{ github.ref }} -t "Release ${{ github.ref }}" -n "Release notes for ${{ github.ref }}"
- name: Add version information
run: sed -i "s/VERSION = 'dev';/VERSION = '${{ github.ref_name }}'" tsv2table

- name: Create GitHub release
run: gh release create ${{github.ref_name}} -t "Release ${{github.ref_name}}" tsv2table
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 517981e

Please sign in to comment.