-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
@echo off | ||
|
||
:: 设置控制台为UTF-8编码 | ||
chcp 65001 >nul | ||
|
||
:: 定义版本变量 | ||
set "VERSION=v0.0.82" | ||
|
||
:: 定义脚本操作 | ||
setlocal | ||
|
||
echo 正在运行 go mod tidy ... | ||
go mod tidy | ||
|
||
echo 正在添加更改到 git ... | ||
git add . | ||
|
||
echo 正在提交更改到 git ... | ||
git commit -m "%VERSION%" | ||
|
||
echo 正在创建标签 %VERSION% ... | ||
git tag %VERSION% | ||
|
||
echo 正在推送到远程仓库(包括标签)... | ||
git push origin master --tags | ||
|
||
echo 发布流程完成。 | ||
|
||
endlocal | ||
pause | ||
@echo off | ||
|
||
:: 设置控制台为UTF-8编码 | ||
chcp 65001 >nul | ||
|
||
:: 定义版本变量 | ||
set "VERSION=v0.0.83" | ||
|
||
:: 定义脚本操作 | ||
setlocal | ||
|
||
echo 正在运行 go mod tidy ... | ||
go mod tidy | ||
|
||
echo 正在添加更改到 git ... | ||
git add . | ||
|
||
echo 正在提交更改到 git ... | ||
git commit -m "%VERSION%" | ||
|
||
echo 正在创建标签 %VERSION% ... | ||
git tag %VERSION% | ||
|
||
echo 正在推送到远程仓库(包括标签)... | ||
git push origin master --tags | ||
|
||
echo 发布流程完成。 | ||
|
||
endlocal | ||
pause |