summaryrefslogtreecommitdiffstats
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:02:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:02:06 +0000
commit36df1518d61259005423b84e0d63a4ecae53895e (patch)
tree96916fd7bd9811e85b7c934a5a3012cc4333d5c8 /.github/workflows/release.yaml
parentAdding upstream version 0~20240209. (diff)
downloadinotify-info-36df1518d61259005423b84e0d63a4ecae53895e.tar.xz
inotify-info-36df1518d61259005423b84e0d63a4ecae53895e.zip
Adding upstream version 0.0.1.upstream/0.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
new file mode 100644
index 0000000..f5e422f
--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,22 @@
+---
+name: release
+on:
+ push:
+ tags:
+ - 'v*'
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - name: Archive
+ run: make inotify-info-${{ github.ref_name }}.tar.gz
+ - name: Release
+ uses: softprops/action-gh-release@v2
+ if: startsWith(github.ref, 'refs/tags/v')
+ with:
+ files: inotify-info-${{ github.ref_name }}.tar.gz
+ generate_release_notes: true
+ draft: true
+ prerelease: true