workflow: extract package version for release tag
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
name: Build
|
||||
on: [push]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build_arch:
|
||||
runs-on: archlinux
|
||||
@@ -37,6 +40,10 @@ jobs:
|
||||
with:
|
||||
name: arch-package
|
||||
path: ./dist
|
||||
- name: Create Git Tag
|
||||
run: |
|
||||
git tag ${{ needs.build_arch.steps.pkg_version.outputs.version }}
|
||||
git push origin ${{ needs.build_arch.steps.pkg_version.outputs.version }}
|
||||
- name: Create Release and Upload Assets
|
||||
uses: https://github.com/softprops/action-gh-release@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user