Skip to content

Commit

Permalink
Merge pull request #13 from hasura/fix/static-linking
Browse files Browse the repository at this point in the history
fix glibc version issues in the linux binary
  • Loading branch information
gneeri authored Jun 20, 2024
2 parents bf14b09 + 9e180ac commit bb44a3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: |
mkdir -p release
echo "Building binary file for target: ${{ matrix.goos }}${{ matrix.goarch }}"
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./release/ndc-elasticsearch-cli-${{ matrix.target }}${{ matrix.extension }}
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} CGO_ENABLED=0 go build -o ./release/ndc-elasticsearch-cli-${{ matrix.target }}${{ matrix.extension }}
- uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Use static linking to resolve `glibc` version issues

## [0.1.1]

- Fixed the configuration directory environment variable in the CLI.
Expand Down

0 comments on commit bb44a3d

Please sign in to comment.