Skip to content

Commit db0a37f

Browse files
committed
Add release.yaml
Squashed commit of the following: commit 7e29a0e Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:29:41 2023 +0100 Install gettext not msgfmt in release.yaml commit 840fc44 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:28:42 2023 +0100 Install msgfmt in release.yaml commit a8b67cd Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:27:32 2023 +0100 Fix make statement in release.yaml commit 8e05b62 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:26:09 2023 +0100 Fix make statement in release.yaml commit 4f666ca Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:25:24 2023 +0100 Fix apt install in release.yaml commit e37bada Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:24:29 2023 +0100 Fix missing 'uses' in release.yaml commit a704d91 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:23:29 2023 +0100 Fix if statement in release.yaml commit e302f12 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:21:41 2023 +0100 Fix typo in release.yaml commit 9bfb826 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:21:15 2023 +0100 Fix typo in release.yaml commit 0728976 Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:20:46 2023 +0100 Fix typo in release.yaml commit 885fdfa Author: Sebastien Laclau <[email protected]> Date: Thu Oct 19 13:18:14 2023 +0100 Add release.yaml
1 parent 46162e1 commit db0a37f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Prepare GitHub release"
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
zip:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
- name: zip
14+
run: |
15+
sudo apt-get install make gettext
16+
make zip-file
17+
- name: Upload artifact
18+
uses: actions/upload-artifact@v3
19+
with:
20+
name: zip
21+
path: "*.zip"
22+
- name: Release (pre)
23+
uses: softprops/action-gh-release@v1
24+
with:
25+
files: "*.zip"
26+
prerelease: true
27+
if: contains(github.ref_name,'rc') && github.ref_type == 'tag'
28+
- name: Release
29+
uses: softprops/action-gh-release@v1
30+
with:
31+
files: "*.zip"
32+
if: "!contains(github.ref_name,'rc') && github.ref_type == 'tag'"

0 commit comments

Comments
 (0)