aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/release-aur.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-aur.yml')
-rw-r--r--.github/workflows/release-aur.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/release-aur.yml b/.github/workflows/release-aur.yml
new file mode 100644
index 0000000..64bd4c0
--- /dev/null
+++ b/.github/workflows/release-aur.yml
@@ -0,0 +1,17 @@
+name: Release to AUR
+
+on:
+ workflow_dispatch:
+ push:
+ branches: [master]
+
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Print pkgver
+ run: echo "::set-output name=PKGVER::"`printf "%s.r%s.%s" "$(grep -F '__version__ =' epy.py | awk -F\" '{print $2}')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"`
+ id: pkgver
+ - name: test
+ run: echo "pkgver: ${{ steps.pkgver.PKGVER }}"