mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-08 00:47:22 +08:00
chore: 加入一键发版的 make 命令
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: install fmt start-daemon start-once db-init db-migrate db-upgrade sync-conf
|
||||
.PHONY: install fmt start-daemon start-once db-init db-migrate db-upgrade sync-conf release
|
||||
|
||||
install:
|
||||
@echo "Installing dependencies..."
|
||||
@@ -29,3 +29,11 @@ sync-conf:
|
||||
@cp ${CONFIG_SRC} ./config/
|
||||
@cp ${DB_SRC} ./data/
|
||||
@echo "Done."
|
||||
|
||||
release:
|
||||
@echo "Releasing..."
|
||||
@git checkout main
|
||||
@bump-my-version bump patch
|
||||
@git push origin main
|
||||
@git push origin --tags
|
||||
@echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user