blob: 3fc66ea32c81ac83806ff8cff5ca04d31febf78e (
plain)
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
|
name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Determine version
id: version
run: |
tag="${GITHUB_REF_NAME}"
echo "version=${tag#v}" >>"$GITHUB_OUTPUT"
- name: Build tarball
run: make tarball
- name: Check release notes exist
run: test -f "Documentation/RelNotes/${{ steps.version.outputs.version }}.md"
- name: Create release
uses: softprops/action-gh-release@v2
with:
name: Sib version ${{ steps.version.outputs.version }}
body_path: Documentation/RelNotes/${{ steps.version.outputs.version }}.md
files: sib-${{ steps.version.outputs.version }}.tar.gz
fail_on_unmatched_files: true
|