Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Aug 24, 2024
1 parent 577dbae commit a5d717a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,28 @@ jobs:
run: |
choco install zip
cd target/${{ matrix.target }}/release
zip ti-tools-0.1.9-${{ matrix.target }}.zip ti-tools.exe
zip ti-tools-0.2.0-${{ matrix.target }}.zip ti-tools.exe
cd ../../..
- name: Create tar.gz file on macOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
chmod +x target/${{ matrix.target }}/release/ti-tools
tar -zcf target/${{ matrix.target }}/release/ti-tools-0.1.9-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release ti-tools
tar -zcf target/${{ matrix.target }}/release/ti-tools-0.2.0-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release ti-tools
chmod +x target/${{ matrix.target2 }}/release/ti-tools
tar -zcf target/${{ matrix.target2 }}/release/ti-tools-0.1.9-${{ matrix.target2 }}.tar.gz -C target/${{ matrix.target2 }}/release ti-tools
tar -zcf target/${{ matrix.target2 }}/release/ti-tools-0.2.0-${{ matrix.target2 }}.tar.gz -C target/${{ matrix.target2 }}/release ti-tools
- name: Create tar.gz file on Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
chmod +x target/${{ matrix.target }}/release/ti-tools
tar -zcf target/${{ matrix.target }}/release/ti-tools-0.1.9-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release ti-tools
tar -zcf target/${{ matrix.target }}/release/ti-tools-0.2.0-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release ti-tools
- name: Upload release and assets to GitHub
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: "release-0.1.9-${{ github.run_number }}"
release_name: ti-tools 0.1.9
tag: "release-0.2.0-${{ github.run_number }}"
release_name: ti-tools 0.2.0
file_glob: true
file: target/*/release/ti-tools-0.1.9-*.{zip,tar.gz}
file: target/*/release/ti-tools-0.2.0-*.{zip,tar.gz}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ti-tools"
version = "0.1.9"
version = "0.2.0"
edition = "2021"
authors = ["cqb13 <cqb13.dev@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit a5d717a

Please sign in to comment.