Bump pulsarctl version to 4.0.0.7 #1896
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 |