chore: release v1.1.0
This commit is contained in:
@@ -116,3 +116,35 @@ jobs:
|
||||
ls -la
|
||||
git diff PKGBUILD
|
||||
git diff .SRCINFO
|
||||
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get branch/tag names
|
||||
id: branch-name
|
||||
uses: tj-actions/branch-names@v5
|
||||
with:
|
||||
strip_tag_prefix: "v"
|
||||
|
||||
- name: Read changelog
|
||||
id: changelog-reader
|
||||
uses: mindsers/changelog-reader-action@v2
|
||||
with:
|
||||
version: ${{ steps.branch-name.outputs.tag }}
|
||||
path: ./CHANGELOG.md
|
||||
|
||||
- name: Create/update release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: v${{ steps.branch-name.outputs.tag }}
|
||||
name: v${{ steps.branch-name.outputs.tag }}
|
||||
body: ${{ steps.changelog-reader.outputs.changes }}
|
||||
allowUpdates: true
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user