workflow: extract package version for release tag
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_arch:
|
build_arch:
|
||||||
runs-on: archlinux
|
runs-on: archlinux
|
||||||
@@ -37,6 +40,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: arch-package
|
name: arch-package
|
||||||
path: ./dist
|
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
|
- name: Create Release and Upload Assets
|
||||||
uses: https://github.com/softprops/action-gh-release@v1
|
uses: https://github.com/softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user