1 Star 0 Fork 1

Klaxon / neatlogic-resources

forked from NeatLogic / neatlogic-resources 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
autotag.sh 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
lvzk 提交于 2024-04-09 14:38 . init
#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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/klaxon/neatlogic-resources.git
git@gitee.com:klaxon/neatlogic-resources.git
klaxon
neatlogic-resources
neatlogic-resources
develop3.0.0

搜索帮助

344bd9b3 5694891 D2dac590 5694891