mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-08 01:00:21 +08:00
chore: 加入一键发版的 make 命令
This commit is contained in:
12
Makefile
12
Makefile
@@ -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..."
|
||||
@@ -28,4 +28,12 @@ sync-conf:
|
||||
@echo "Syncing config..."
|
||||
@cp ${CONFIG_SRC} ./config/
|
||||
@cp ${DB_SRC} ./data/
|
||||
@echo "Done."
|
||||
@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