Bump pulsarctl version to 4.0.0.4 #1891
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pulsarctl | |
on: | |
pull_request: | |
branches: | |
- '*' | |
path-ignores: | |
- 'docs/**' | |
- 'README.md' | |
- 'CONTRIBUTING.md' | |
jobs: | |
release-check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ 1.21, 1.22 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: build | |
run: | | |
version=`cat VERSION` | |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pulsarctl-amd64-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" . | |
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o pulsarctl-386-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" . | |
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o pulsarctl-amd64-darwin -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" . | |
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o pulsarctl-amd64-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" . | |
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o pulsarctl-386-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" . | |
- name: build-site | |
run: | | |
make cli |