Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cchexcode committed Mar 4, 2023
1 parent 66576d0 commit 9afe02e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ jobs:
cargo login ${{ secrets.CRATES_IO_TOKEN }}
sed 's/version = "0.0.0"/version = "'${{ needs.version.outputs.version }}'"/g' Cargo.toml > Cargo.toml.tmp
mv Cargo.toml.tmp Cargo.toml
cargo build --target x86_64-unknown-linux-gnu --release
cargo publish --target x86_64-unknown-linux-gnu --allow-dirty
- name: package assets (manpages)
run: |
cd ./target/assets/man
tar -czf ../../../manpages.tar.gz
cd ./target/x86_64-unknown-linux-gnu/assets/man
tar -czf ../../../../manpages.tar.gz
- name: package assets (shell completion)
run: |
cd ./target/assets/shell
tar -czf ../../../shell-completion.tar.gz
cd ./target/x86_64-unknown-linux-gnu/assets/shell
tar -czf ../../../../shell-completion.tar.gz
- name: upload asset (manpages)
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 9afe02e

Please sign in to comment.