File tree Expand file tree Collapse file tree 4 files changed +178
-167
lines changed
Expand file tree Collapse file tree 4 files changed +178
-167
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,16 @@ jobs:
5454 steps :
5555 - uses : actions/checkout@v4
5656
57+ - name : Set version
58+ run : |
59+ cargo install cargo-edit
60+ cargo-set-version set-version ${GITHUB_REF#refs/tags/}
61+
5762 - name : Publish
5863 if : matrix.build == 'x86_64-linux'
5964 run : |
6065 cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
61- cargo publish --target x86_64-unknown-linux-gnu
66+ cargo publish --target x86_64-unknown-linux-gnu --allow-dirty
6267
6368 - name : Install ${{ matrix.rust }} toolchain
6469 uses : dtolnay/rust-toolchain@master
Original file line number Diff line number Diff line change 11[package ]
22name = " tetris-tui"
3- version = " 0.1.9 "
3+ version = " 0.2.0 "
44edition = " 2021"
5- authors = [" Quan Tong <quantonganh@email .com>" ]
5+ authors = [" Quan Tong <quantonganh@gmail .com>" ]
66license = " MIT OR Apache-2.0"
77description = " Tetris in the terminal"
88readme = " README.md"
You can’t perform that action at this time.
0 commit comments