mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-06 07:57:12 +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:
|
install:
|
||||||
@echo "Installing dependencies..."
|
@echo "Installing dependencies..."
|
||||||
@@ -28,4 +28,12 @@ sync-conf:
|
|||||||
@echo "Syncing config..."
|
@echo "Syncing config..."
|
||||||
@cp ${CONFIG_SRC} ./config/
|
@cp ${CONFIG_SRC} ./config/
|
||||||
@cp ${DB_SRC} ./data/
|
@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