File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ source .include.common.sh
47
47
branch_tag=${tag_hash[${branch_hash}]:= " none" }
48
48
if [ " ${branch_tag} " == " none" ]
49
49
then
50
- branch_version=" 0.0.0 "
51
- branch_tag=" ${branch_hash : 0 : 7} - $ ( date +%s) "
50
+ branch_version=" 0.0.1 "
51
+ branch_tag=" $( date +%s) "
52
52
else
53
53
branch_version=" ${branch_tag// v/ } "
54
54
fi
@@ -66,7 +66,8 @@ source .include.common.sh
66
66
gen_control_file
67
67
gen_rootfs
68
68
find " ${DPKG_BUILD_ROOT} "
69
- deb_name=" ${DEBIAN["Package"]} -${DEBIAN["Version"]} _${DEBIAN["Architecture"]} .deb"
69
+ # deb_name="${DEBIAN["Package"]}-${DEBIAN["Version"]}_${DEBIAN["Architecture"]}.deb"
70
+ deb_name=" ${DEBIAN["Package"]} -${branch_version} -${branch_name} -${branch_hash: 0: 7} -${branch_tag} _${DEBIAN["Architecture"]} .deb"
70
71
if dpkg -b " ${DPKG_BUILD_ROOT} " " ${T_DIR} /.dpkg-root/${deb_name} "
71
72
then
72
73
ls -al " ${T_DIR} /.dpkg-root/${deb_name} "
You can’t perform that action at this time.
0 commit comments