Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
lcr
提交
62664adf
L
lcr
项目概览
openeuler
/
lcr
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lcr
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
62664adf
编写于
8月 10, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
8月 10, 2020
浏览文件
操作
浏览文件
下载
差异文件
!68 Release v2.0.3
Merge pull request !68 from lifeng_isula/master
上级
9fc48b6c
2f274e54
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
57 addition
and
3 deletion
+57
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
lcr.spec
lcr.spec
+2
-2
release_notes
release_notes
+27
-0
update-version.bash
update-version.bash
+27
-0
未找到文件。
CMakeLists.txt
浏览文件 @
62664adf
...
...
@@ -25,7 +25,7 @@ project (lcr)
option
(
VERSION
"set lcr version"
ON
)
if
(
VERSION STREQUAL
"ON"
)
set
(
LCR_VERSION
"2.0.
2
"
)
set
(
LCR_VERSION
"2.0.
3
"
)
endif
()
option
(
DEBUG
"set lcr gcc option"
ON
)
...
...
lcr.spec
浏览文件 @
62664adf
%global _version 2.0.
2
%global _release 202008
03.120020.git8462c29a
%global _version 2.0.
3
%global _release 202008
10.102757.git9fc48b6c
%global _inner_name isula_libutils
Name: lcr
...
...
release_notes
0 → 100644
浏览文件 @
62664adf
2020-08-10 lifeng release 2.0.3
- !67 add debug package Merge pull request !67 from YoungJQ/master
- !66 info.json add name field Merge pull request !66 from Zhangxiaoyu/master
- !64 lcr:remove big-data related fields of rootfs.json Merge pull request !64 from Jackey_1024/master
- !65 devmapper: surpport update Merge pull request !65 from gaohuatao/update
- !63 stats info add cache/total cache field Merge pull request !63 from Zhangxiaoyu/master
- !62 image: remove image operator time config Merge pull request !62 from lifeng_isula/master
- !61 Image: merge implement_image branch to master Merge pull request !61 from lifeng_isula/image
- !55 backport libocispec Merge pull request !55 from haozi007/change
- !56 improve ut manager Merge pull request !56 from haozi007/work
- !54 improve gcov of log Merge pull request !54 from haozi007/change
- !53 support fuzz Merge pull request !53 from haozi007/change
- !51 change name of testcases Merge pull request !51 from haozi007/change
- !50 回退 'Pull Request !49 : change name of testcases' Merge pull request !50 from lifeng_isula/revert-merge-49-master
- !49 change name of testcases Merge pull request !49 from haozi007/change
- !48 improve html show Merge pull request !48 from haozi007/change
- !47 log llt invalid target Merge pull request !47 from haozi007/change
- !46 improve llt Merge pull request !46 from haozi007/change
- !45 improve log driver check Merge pull request !45 from haozi007/change
- !44 support calico Merge pull request !44 from haozi007/change
- !42 support import rootfs to be image Merge pull request !42 from wangfengtu/support_import
- !41 fix license Merge pull request !41 from haozi007/change
dev stats:
- 37 files changed, 1129 insertions(+), 139 deletions(-)
- contributors: haozi007, lifeng68, Zhangxiaoyu, WangFengTu, YoungJQ, gaohuatao, jikui, lifeng_isula, wujing
update-version.bash
浏览文件 @
62664adf
...
...
@@ -25,6 +25,29 @@
#
# usage
# ./update-version.bash
function
update_release_notes
()
{
LAST_RELEASE
=
$(
git describe
--tags
--abbrev
=
0
)
# Prepare proposed delease notes
rm
-f
release_notes.tmp
echo
"
$(
date
"+%Y-%m-%d"
)
$USER
release
$1
"
>>
release_notes.tmp
git log
--first-parent
--oneline
$LAST_RELEASE
.. |
cut
-d
' '
-f
2- |
sed
's/^/ - /'
>>
release_notes.tmp
echo
>>
release_notes.tmp
echo
" dev stats:"
>>
release_notes.tmp
echo
" -
$(
git diff
--shortstat
$LAST_RELEASE
)
"
>>
release_notes.tmp
echo
-n
" - contributors: "
>>
release_notes.tmp
git shortlog
-ns
--no-merges
$LAST_RELEASE
..HEAD |
cut
-d
$'
\t
'
-f
2 |
sed
-e
':a'
-e
'N'
-e
'$!ba'
-e
's/\n/, /g'
>>
release_notes.tmp
echo
"#"
>>
release_notes.tmp
echo
"#"
>>
release_notes.tmp
echo
"#"
>>
release_notes.tmp
echo
>>
release_notes.tmp
cat
release_notes
>>
release_notes.tmp
grep
-v
'^#'
release_notes.tmp |
sed
'/./,$!d'
>
release_notes
rm
-rf
release_notes.tmp
}
topDir
=
$(
git rev-parse
--show-toplevel
)
specfile
=
"
${
topDir
}
/lcr.spec"
CMakefile
=
"
${
topDir
}
/CMakeLists.txt"
...
...
@@ -51,6 +74,10 @@ fi
new_version
=
${
first_old_version
}
.
${
second_old_version
}
.
${
third_old_version
}
if
[[
${
choice
}
-ne
"d"
]]
;
then
update_release_notes
"
$new_version
"
fi
echo
"The version number has been modified:
${
old_version
}
=>
${
new_version
}
"
old_release
=
$(
cat
${
specfile
}
|
grep
"%global"
|
grep
"_release"
|
awk
{
'print $3'
}
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录