Add release description (#230)
* Add description to a release * Fix typo
This commit is contained in:
parent
0a51fb06ea
commit
e4d4c93d9c
1 changed files with 4 additions and 2 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -66,10 +66,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Get the version
|
- name: Get version and release description
|
||||||
id: tagName
|
id: tagName
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
|
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
|
||||||
|
tail -n +2 CHANGELOG.md | sed -e '/^$/,$d' > CHANGELOG.txt
|
||||||
echo "::set-output name=tag::$VERSION"
|
echo "::set-output name=tag::$VERSION"
|
||||||
|
|
||||||
- name: Download x86_64 Windows artifact
|
- name: Download x86_64 Windows artifact
|
||||||
|
|
@ -85,7 +86,8 @@ jobs:
|
||||||
- name: Create a release
|
- name: Create a release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.tagName.outputs.tag }}
|
name: v${{ steps.tagName.outputs.tag }}
|
||||||
|
body_path: CHANGELOG.txt
|
||||||
files: |
|
files: |
|
||||||
oxipng-${{ steps.tagName.outputs.tag }}-x86_64-pc-windows-msvc.zip
|
oxipng-${{ steps.tagName.outputs.tag }}-x86_64-pc-windows-msvc.zip
|
||||||
oxipng-${{ steps.tagName.outputs.tag }}-i686-pc-windows-msvc.zip
|
oxipng-${{ steps.tagName.outputs.tag }}-i686-pc-windows-msvc.zip
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue