Skip to content

Commit

Permalink
ci: 完善CI版本,发布0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselyuki committed Nov 1, 2023
1 parent 6195a82 commit ad19b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,7 @@ jobs:
shell: bash
run: |
git fetch --tags
LATEST_TAG=$(git describe --tags --abbrev=0)
tag_pattern="^[0-9]+\.[0-9]+\.[0-9]+$"
tags=$(git tag | grep -E $tag_pattern | sort -Vr )
PREVIOUS_TAG=$( echo "$tags" | head -n2| tail -n1 )
echo "::set-output name=message::$(git log $PREVIOUS_TAG...$LATEST_TAG --pretty=format:"%h - %s " -5)"
echo "::set-output name=message::$(git log -5)"
- name: Rust Cache
uses: Swatinem/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["AnselYuki"]
name = "maimai-search"
version = "0.1.10"
version = "0.2.0"
edition = "2021"
repository = "https://github.com/Anselyuki/maimai-search-rs"

Expand Down

0 comments on commit ad19b88

Please sign in to comment.