1 Star 0 Fork 4

布袋 / EasyMock

forked from Gitee 极速下载 / EasyMock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
start-next-version.sh 431 Bytes
一键复制 编辑 原始数据 按行查看 历史
Henri Tremblay 提交于 2018-11-30 13:31 . Start version 4.0.2
#!/bin/bash
# This script expects:
# - jira_user / jira_password to be available environment variables
# - the next version to be received as the first parameter
if [ "$1" == "" ]; then
echo "Next version should be provided"
exit 1
fi
set -e
version=$1
# Start the new version
mvn versions:set -DnewVersion=${version}-SNAPSHOT -Pall
mvn versions:commit -Pall
# Commit
git commit -am "Start version $version"
git push
1
https://gitee.com/budye/easymock.git
git@gitee.com:budye/easymock.git
budye
easymock
EasyMock
master

搜索帮助