Skip to content

Commit

Permalink
fix build name
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Sep 12, 2024
1 parent 0c8c10d commit f6ab1af
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
bin_name: kubectl-config-doctor
bin_name: kubectl-config_doctor
asset_name: kubectl-config-doctor-linux-amd64.tar.gz
- os: windows-latest
target: x86_64-pc-windows-msvc
bin_name: kubectl-config-doctor.exe
bin_name: kubectl-config_doctor.exe
asset_name: kubectl-config-doctor-windows-amd64.zip
- os: macos-latest
target: aarch64-apple-darwin
bin_name: kubectl-config-doctor
bin_name: kubectl-config_doctor
asset_name: kubectl-config-doctor-darwin-arm64.tar.gz
- os: macos-latest
target: x86_64-apple-darwin
bin_name: kubectl-config-doctor
bin_name: kubectl-config_doctor
asset_name: kubectl-config-doctor-darwin-amd64.tar.gz

steps:
Expand All @@ -46,7 +46,7 @@ jobs:
- name: Create tar.gz archive (Linux/macOS)
if: runner.os != 'Windows'
run: |
tar -czvf ${{ matrix.asset_name }} target/${{ matrix.target }}/release/${{ matrix.bin_name }}
tar -czvf ${{ matrix.asset_name }} -C target/${{ matrix.target }}/release ${{ matrix.bin_name }}
- name: Create zip archive (Windows)
if: runner.os == 'Windows'
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "kubectl-config-doctor"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[[bin]]
name = "kubectl-config_doctor"
path = "src/main.rs"

[dependencies]
aws-lc-rs = "1.9.0"
colored = "2.1.0"
Expand Down

0 comments on commit f6ab1af

Please sign in to comment.