Skip to content

Commit

Permalink
Bump version to 0.20240825.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 24, 2024
1 parent 4e3c43d commit 529dd61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tsumugu"
version = "0.20240824.0"
version = "0.20240825.0"
edition = "2021"
description = "A HTTP(S) syncing tool with lower overhead, for OSS mirrors"
license-file = "LICENSE"
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ check:

release:
ifndef version
$(error version is not set. Usage: make release version=<version>)
$(error version is not set. Usage: make release version=<version> msg="<msg>")
endif
ifndef msg
$(error msg is not set. Usage: make release version=<version> msg="<msg>")
endif
@full_version=$(shell echo $(version) | grep -q '\.' && echo "0.$(version)" || echo "0.$(version).0"); \
echo $$full_version; \
cargo set-version $$full_version; \
git commit -a -m "Bump version to $$full_version" ; \
git tag $(version)
git tag $(version) -m "$(msg)"
echo "Updated, run `git push --tag` now!"

0 comments on commit 529dd61

Please sign in to comment.