-
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 969 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
37
38
39
40
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
with:
fetch-depth: 0
- name: Configure
run: |
./bootstrap.sh
./configure \
GITCLIFF=: TYPOS=:\
--enable-developer-mode \
--without-{bash,fish,zsh}-completion-dir
echo "VERSION=$(./build-aux/git-version-gen .tarball-version)" >> $GITHUB_ENV
- name: Build source package
run: |
make dist
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
files: |
git-warp-time-${{ env.VERSION }}.zip
git-warp-time-${{ env.VERSION }}.tar.zst
git-warp-time-${{ env.VERSION }}.sha256.txt