publish version to 0.0.2

main
huyufei 2023-09-06 10:09:53 +08:00
parent 8f5bcc06e6
commit 849d08ed5a
2 changed files with 5 additions and 19 deletions

View File

@ -5,15 +5,8 @@ Branch=main
#------------- 命令部分 ----------------
# make publish
# 发布upm版本, 版本号和分支需要提前配置
publish:
publish: set_version
git switch ${Branch}
set_version
git commit . -m "publish version to ${Version}"
# git push
git tag ${Version}
# git push --tags
@ -25,5 +18,8 @@ build:
# 更新版本
set_version:
git switch ${Branch}
# python3 helper.py package.json ${Version}
python3 helper.py set_ver --path ./package.json --ver ${Version}
git commit . -m "publish version to ${Version}"
# git push

View File

@ -1,11 +1 @@
{
"name": "com.guru.unity.gurudoflib",
"displayName": "GuruDofLib",
"version": "0.0.1",
"description": "基于Guru kcp库实现的客户端接口封装",
"unity": "2020.3",
"license": "MIT",
"category": "Game tool",
"dependencies": {
}
}
{"name": "com.guru.unity.gurudoflib", "displayName": "GuruDofLib", "version": "0.0.2", "description": "\u57fa\u4e8eGuru kcp\u5e93\u5b9e\u73b0\u7684\u5ba2\u6237\u7aef\u63a5\u53e3\u5c01\u88c5", "unity": "2020.3", "license": "MIT", "category": "Game tool", "dependencies": {}}