Skip to content

Commit

Permalink
v0.0.83
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jun 25, 2024
1 parent 704c960 commit fa80086
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions release.cmd
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

0 comments on commit fa80086

Please sign in to comment.