1 Star 0 Fork 107

paul008/neatlogic-cmdb

forked from NeatLogic/neatlogic-cmdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
autotag.sh 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
zenkiray 提交于 2024-03-18 14:35 . 更新LICENSE为AGPL3.0
#Copyright (C) $today.year 深圳极向量科技有限公司 All Rights Reserved.
#
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU Affero General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU Affero General Public License for more details.
#
#You should have received a copy of the GNU Affero General Public License
#along with this program. If not, see <http://www.gnu.org/licenses/>.
POM_VERSION=`cat pom.xml|grep "<version>"|sed -n '2p'`
POM_VERSION=${POM_VERSION#*>}
POM_VERSION=${POM_VERSION%<*}
if [ $POM_VERSION != "" ]; then
PROJECT_ID=$1
REF=$2
curl -H "PRIVATE-TOKEN: 5zWk91yBpWfrbrN5fZDV" -X POST -d "tag_name=$POM_VERSION&ref=$REF" http://192.168.0.82:7070/api/v4/projects/$PROJECT_ID/repository/tags
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/paul008/neatlogic-cmdb.git
git@gitee.com:paul008/neatlogic-cmdb.git
paul008
neatlogic-cmdb
neatlogic-cmdb
develop3.0.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385