From 8e97f136b206f327b260ee8bd9d5aaba31716e48 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Wed, 15 May 2024 08:26:28 +0300 Subject: [PATCH] feat(ci): add release process --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 215471ef..7da475f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,10 +6,18 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4.1.5 - uses: DeterminateSystems/nix-installer-action@v11 - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package run: nix build -L + - name: Release + uses: softprops/action-gh-release@v2.0.2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: result/share/emacs/site-lisp/magit-file-icons.el + generate_release_notes: true