Skip to content

Commit

Permalink
add releases action
Browse files Browse the repository at this point in the history
  • Loading branch information
brainfoolong committed Jan 14, 2025
1 parent 1b50d88 commit e1eb4af
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create Release

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run build
run: bash build.sh

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/nshptt_*
body_path: RELEASEINFO.md
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 0.1.0 - 2025-01-14
* first beta
1 change: 1 addition & 0 deletions RELEASEINFO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* first beta

0 comments on commit e1eb4af

Please sign in to comment.