...
This commit is contained in:
1 parent
8feae23b76
commit
c9b53d3f28
1 file changed
+5
-6
@@ -28,18 +28,17 @@ echo "Version: $version"
|
||||
echo "Release Date: $current_date"
|
||||
|
||||
package:
|
||||
rm -rf $(build_dir)
|
||||
mkdir -p $(build_dir)
|
||||
rm -rf $(package_path)
|
||||
mkdir -p $(package_path)
|
||||
# cp bin dir
|
||||
cp -rf $(svc_bin) $(build_dir)
|
||||
# mkdir -p $(build_dir)/config
|
||||
cp -rf $(svc_bin) $(package_path)
|
||||
# cp extra file
|
||||
# update release date
|
||||
sed -i "s/Release Date:.*/Release Date: $(current_date)/" $(vfile)
|
||||
cp -rf $(extra_dir)/* $(build_dir)
|
||||
cp -rf $(extra_dir)/* $(package_path)
|
||||
# cp web file
|
||||
mkdir -p $(build_dir)/web
|
||||
cp -rf $(web_root)/* $(build_dir)/web
|
||||
cp -rf $(web_root)/* $(package_path)/web
|
||||
cd $(build_root)
|
||||
tar cvfz $(package_file) $(package_dir)
|
||||
mv -f $(package_file) $(release_dir)
|
||||
Reference in new issue
Block a user