!260 use vendor instead specific vendor name

From: @DCCooper 
Reviewed-by: @jingxiaolu 
Signed-off-by: @jingxiaolu
This commit is contained in:
openeuler-ci-bot 2022-11-24 09:14:22 +00:00 committed by Gitee
commit 2dd999867f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 13 additions and 7 deletions

View File

@ -1 +0,0 @@
0.9.6-13

1
VERSION-vendor Normal file
View File

@ -0,0 +1 @@
0.9.6-14

View File

@ -9,7 +9,7 @@ set -ex
pkg=isula-build
cwd=${PWD}
src=${cwd}/${pkg}
tar_file=v"$(awk -F"-" '{print $1}' <VERSION-openeuler)".tar.gz
tar_file=v"$(awk -F"-" '{print $1}' <VERSION-vendor)".tar.gz
mkdir ${src} && tar -zxvf "${tar_file}" -C ${src} --strip-components 1
if [ ! -d patch ]; then
@ -35,5 +35,5 @@ done <"${series}"
cd "${cwd}"
cp -rf "${src}"/* .
cp -f VERSION-openeuler VERSION
cp -f VERSION-vendor VERSION
rm -rf "${src}"

View File

@ -16,7 +16,7 @@
# Basic info
top_dir=$(git rev-parse --show-toplevel)
version_file="${top_dir}/VERSION-openeuler"
version_file="${top_dir}/VERSION-vendor"
spec_file="${top_dir}/isula-build.spec"
commit_file=${top_dir}/git-commit
color=$(tput setaf 2) # red

View File

@ -1 +1 @@
de59790370c6bb31408c4317e7dd71d1436fbece
e4b5a3bee5a69df32fb60b5eb8c28e1e8a39b59b

View File

@ -2,13 +2,13 @@
Name: isula-build
Version: 0.9.6
Release: 13
Release: 14
Summary: A tool to build container images
License: Mulan PSL V2
URL: https://gitee.com/openeuler/isula-build
Source0: https://gitee.com/openeuler/isula-build/repository/archive/v%{version}.tar.gz
Source1: git-commit
Source2: VERSION-openeuler
Source2: VERSION-vendor
Source3: apply-patches
Source4: gen-version.sh
Source5: series.conf
@ -85,6 +85,12 @@ fi
/usr/share/bash-completion/completions/isula-build
%changelog
* Wed Nov 23 2022 Lixiang <cooper.li@huawei.com> - 0.9.6-14
- Type:bugfix
- CVE:NA
- SUG:restart
- DESC:use vendor instead specific vendor name
* Tue Nov 01 2022 daisicheng <daisicheng@huawei.com> - 0.9.6-13
- Type:bugfix
- CVE:NA