Skip to content

Commit

Permalink
Version bump 0.3.1
Browse files Browse the repository at this point in the history
Strip 'v' prefix when checking for existing crate versions
  • Loading branch information
JamyGolden committed Jul 12, 2024
1 parent 5f6e17f commit cfb09e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
run: |
crate_name="ribboncurls-cli"
version="${{ steps.git_tag_name.outputs.value }}"
version=${version#v} # strip prefix 'v'
response=$(curl -s "https://crates.io/api/v1/crates/$crate_name")
if echo "$response" | grep -q "\"num\":\"$version\""; then
echo "Version $version of $crate_name already exists."
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ You may use this code under the terms of either license.
#### Used by

- [ribboncurls 0.3.0](https://github.com/tinted-theming/ribboncurls)
- [ribboncurls-cli 0.3.0](https://github.com/tinted-theming/ribboncurls)
- [ribboncurls-cli 0.3.1](https://github.com/tinted-theming/ribboncurls)

```
Mozilla Public License Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion ribboncurls-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ribboncurls-cli"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["Tinted Theming <[email protected]>"]
license = "MPL-2.0"
Expand Down

0 comments on commit cfb09e5

Please sign in to comment.