Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
B
beam
管理
动态
成员
计划
Wiki
代码
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
部署
发布
模型注册表
分析
贡献者分析
仓库分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
Show more breadcrumbs
oss-mirrors
beam
提交
12bc3587
未验证
提交
12bc3587
编辑于
3天前
作者:
Danny McCormick
提交者:
GitHub
3天前
浏览文件
操作
下载
补丁
差异文件
Use same format for next and current release versions (#34262)
上级
2f804c2d
No related branches found
分支 包含提交
No related tags found
标签 包含提交
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
.github/workflows/cut_release_branch.yml
+4
-4
4 个添加, 4 个删除
.github/workflows/cut_release_branch.yml
有
4 个添加
和
4 个删除
.github/workflows/cut_release_branch.yml
+
4
−
4
浏览文件 @
12bc3587
...
...
@@ -35,7 +35,7 @@ on:
NEXT_VERSION
:
description
:
Next release version
required
:
true
default
:
'
2.XX
.0
'
default
:
'
2.XX'
CREATE_RELEASE_BRANCH
:
description
:
Whether to cut the release branch. You shouldnt skip this unless it has already been completed successfully (yes/no)
required
:
true
...
...
@@ -97,10 +97,10 @@ jobs:
steps
:
-
name
:
Validate Next Version
run
:
|
if [[ $NEXT_RELEASE =~ ([0-9]+\.[0-9]+
\.[0-9]+
) ]]; then
echo "NEXT_VERSION_IN_BASE_BRANCH=${BASH_REMATCH[1]}" >> $GITHUB_ENV
if [[ $NEXT_RELEASE =~ ([0-9]+\.[0-9]+) ]]; then
echo "NEXT_VERSION_IN_BASE_BRANCH=${BASH_REMATCH[1]}
.0
" >> $GITHUB_ENV
else
echo "The input for NEXT_RELEASE does not match a valid format [0-9]+\.[0-9]+
\.[0-9]+
"
echo "The input for NEXT_RELEASE does not match a valid format [0-9]+\.[0-9]+"
exit 1
fi
-
name
:
Check out code
...
...
This diff is collapsed.
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录