Skip to content

Commit

Permalink
Test release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
simbados committed Feb 13, 2024
1 parent 0c1d8b2 commit 818387a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Sb release
on:
push:
tags:
- "v*.*.*"

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: '1.22.0'
- run: go build cmd/sb/sb.go
- run: gh release create $TAG -F changelog.md './sb#binary'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref }}
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Test change log
new feature
hello world

0 comments on commit 818387a

Please sign in to comment.