Skip to content

Commit 90dd549

Browse files
committed
add GHA for release purpose
Signed-off-by: see-quick <maros.orsak159@gmail.com>
1 parent a9f46e7 commit 90dd549

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Build bundled script
19+
run: ./build.sh
20+
21+
- name: Verify bundled script
22+
run: |
23+
bash -n dist/kind-cluster.sh
24+
dist/kind-cluster.sh version
25+
26+
- name: Create GitHub Release
27+
uses: softprops/action-gh-release@v2
28+
with:
29+
files: dist/kind-cluster.sh
30+
generate_release_notes: true

0 commit comments

Comments
 (0)