3 Star 3 Fork 1

Gitee 极速下载/protostuff

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/protostuff/protostuff
克隆/下载
release.sh 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
dyu 提交于 2019-10-04 15:18 +08:00 . release script
#!/bin/sh
set -e
VERSION=$1
[ ! -n "$VERSION" ] && echo "Enter release version: " && read VERSION
# post-release
PR_VERSION=$2
[ ! -n "$PR_VERSION" ] && echo "Enter post-release version: " && read PR_VERSION
echo "Releasing $VERSION - are you sure? (y/n):" && read CONFIRM && [ "$CONFIRM" != "y" ] && exit 0
[ ! -n "$MVN" ] && MVN=mvn
$MVN versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false && \
git add -u . && git commit -m "$VERSION" && \
$MVN -Prelease deploy && git tag protostuff-$VERSION && \
$MVN versions:set -DnewVersion=$PR_VERSION -DgenerateBackupPoms=false && \
git add -u . && git commit -m "$PR_VERSION" && \
git push -u origin master && git push origin --tags
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/protostuff.git
git@gitee.com:mirrors/protostuff.git
mirrors
protostuff
protostuff
master

搜索帮助