-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (32 loc) · 864 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release
on:
push:
tags:
- v*.*.*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ghrelase:
strategy:
fail-fast: false
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: |
echo "VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
echo "${GITHUB_REF#refs/*/v}" > .tarball-version
./bootstrap.sh
./configure --without-{bash,fish,zsh}-completion-dir
- name: Build source package
run: |
make dist
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
files: |
decasify-${{ env.VERSION }}.zip
decasify-${{ env.VERSION }}.tar.zst
decasify-${{ env.VERSION }}.sha256.txt