Actually fix release tagging and publish changelog with releases (#901)
This commit is contained in:
parent
a415d1bdc1
commit
1742cf0e12
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
@ -149,12 +149,22 @@ jobs:
|
|||||||
run: ./bin/package ${{github.ref}} ${{matrix.os}} ${{ matrix.target }}
|
run: ./bin/package ${{github.ref}} ${{matrix.os}} ${{ matrix.target }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish Archive
|
||||||
uses: softprops/action-gh-release@v0.1.5
|
uses: softprops/action-gh-release@v0.1.5
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
draft: false
|
draft: false
|
||||||
files: ${{ steps.package.outputs.archive }}
|
files: ${{ steps.package.outputs.archive }}
|
||||||
prerelease: ${{ steps.is_prerelease.outputs.value }} != 'release'
|
prerelease: ${{ steps.ref-type.outputs.value != 'release' }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Publish Changelog
|
||||||
|
uses: softprops/action-gh-release@v0.1.5
|
||||||
|
if: startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-unknown-linux-musl'
|
||||||
|
with:
|
||||||
|
draft: false
|
||||||
|
files: CHANGELOG.md
|
||||||
|
prerelease: ${{ steps.ref-type.outputs.value != 'release' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user