Skip to content

Commit

Permalink
add darwin/arm64 support
Browse files Browse the repository at this point in the history
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
  • Loading branch information
ManishaKumari295 committed Feb 13, 2025
1 parent 2024a9a commit c347827
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .bonsai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ builds:
- "entity.system.os == 'darwin'"
- "entity.system.arch == 'amd64'"

- platform: "OSX"
arch: "arm64"
asset_filename: "#{repo}_#{version}_darwin_arm64.tar.gz"
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
filter:
- "entity.system.os == 'darwin'"
- "entity.system.arch == 'arm64'"

- platform: "Windows"
arch: "amd64"
asset_filename: "#{repo}_#{version}_windows_amd64.tar.gz"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.18.x
go-version: 1.22.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go 1.18
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.22
id: go
- name: Test
run: go test -v ./...
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ builds:
goarch: arm
targets:
- darwin_amd64
- darwin_arm64
- linux_386
- linux_amd64
- linux_arm_5
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [4.0.1] - 2025-02-13
### Added
- Support for darwin/arm64 build.

## [4.0.0] - 2022-06-16
### Added
- Added '--bucket', '--token', and '--org' options to work with influxv2
Expand Down

0 comments on commit c347827

Please sign in to comment.