From 515a005adf7bd7b03b2545f8101394fc4b90bf54 Mon Sep 17 00:00:00 2001 From: Arthur Chaloin Date: Thu, 7 Dec 2023 15:16:23 +0000 Subject: [PATCH] feat(ci): create github release --- .github/workflows/rpm.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/rpm.yml b/.github/workflows/rpm.yml index 2e46bc62..d5952bd0 100644 --- a/.github/workflows/rpm.yml +++ b/.github/workflows/rpm.yml @@ -45,3 +45,12 @@ jobs: with: name: rpms path: rpms/ + + - name: Format version name + run: echo "VERSION=v$(date +'%Y%m%d.%H%M')" >> $GITHUB_ENV + + - name: Create release + uses: ncipollo/release-action@v1 + with: + tag: $VERSION + artifacts: "rpms/*.rpm"