Skip to content

Commit

Permalink
include more released binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
erfantkerfan committed Jun 11, 2023
1 parent e1e19f2 commit 8f4fb48
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@ on:
types: [created]

jobs:
release-linux-amd64:
name: release linux/amd64
release-matrix:
name: release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, darwin, windows]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

var (
DatabaseFile string
version string = "1.0.0"
version string = "1.2.0"
)
var rootCmd = &cobra.Command{
Use: "flockman",
Expand Down

0 comments on commit 8f4fb48

Please sign in to comment.