Compare commits
2 commits
eb8e0ae229
...
2dbe3da892
Author | SHA1 | Date | |
---|---|---|---|
2dbe3da892 | |||
031814f7f4 |
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,11 @@ jobs:
|
||||||
tar -cJf dist/artifactview-x86_64-${{ github.ref_name }}.tar.xz -C target/x86_64-unknown-linux-gnu/release artifactview
|
tar -cJf dist/artifactview-x86_64-${{ github.ref_name }}.tar.xz -C target/x86_64-unknown-linux-gnu/release artifactview
|
||||||
tar -cJf dist/artifactview-aarch64-${{ github.ref_name }}.tar.xz -C target/aarch64-unknown-linux-gnu/release artifactview
|
tar -cJf dist/artifactview-aarch64-${{ github.ref_name }}.tar.xz -C target/aarch64-unknown-linux-gnu/release artifactview
|
||||||
|
|
||||||
awk 'BEGINFILE{print "CHANGELOG=<<EOF"}; BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }; ENDFILE {print "EOF"}' CHANGELOG.md >> "$GITHUB_ENV"
|
{
|
||||||
|
echo 'CHANGELOG<<END_OF_FILE'
|
||||||
|
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' CHANGELOG.md
|
||||||
|
echo END_OF_FILE
|
||||||
|
} >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: 🎉 Publish release
|
- name: 🎉 Publish release
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|
Loading…
Reference in a new issue