Skip to content

Commit e1eb4af

Browse files
committed
add releases action
1 parent 1b50d88 commit e1eb4af

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Create Release
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
12+
- name: Run build
13+
run: bash build.sh
14+
15+
- name: Setup Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version: 'stable'
19+
20+
- name: Release
21+
uses: softprops/action-gh-release@v2
22+
if: startsWith(github.ref, 'refs/tags/')
23+
with:
24+
files: build/nshptt_*
25+
body_path: RELEASEINFO.md

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## 0.1.0 - 2025-01-14
2+
* first beta

RELEASEINFO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* first beta

0 commit comments

Comments
 (0)