Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Sep 13, 2024
1 parent a17d47e commit 2fc1272
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
- name: Create tar.gz archive (Linux/macOS)
if: runner.os != 'Windows'
run: |
cp target/${{ matrix.target }}/release/kubectl-config-doctor kubectl-config_doctor
tar -czvf ${{ matrix.asset_name }} -C kubectl-config_doctor
cp target/${{ matrix.target }}/release/kubectl-config-doctor ./kubectl-config_doctor
tar -czvf ${{ matrix.asset_name }} ./kubectl-config_doctor
- name: Create zip archive (Windows)
if: runner.os == 'Windows'
run: |
Rename-Item -Path target/${{ matrix.target }}/release/kubectl-config-doctor.exe -NewName "kubectl-config_doctor.exe"
Compress-Archive -Path kubectl-config_doctor.exe -DestinationPath ${{ matrix.asset_name }}
Rename-Item -Path target/${{ matrix.target }}/release/kubectl-config-doctor.exe -NewName "./kubectl-config_doctor.exe"
Compress-Archive -Path ./kubectl-config_doctor.exe -DestinationPath ${{ matrix.asset_name }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 2fc1272

Please sign in to comment.