mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:00:23 +00:00
(improvement)(build) Add commands to the build process to delete the old release_dir directory and release_dir.zip file. (#1285)
This commit is contained in:
@@ -44,6 +44,8 @@ function packageRelease {
|
||||
service_name=launchers-${model_name}-${MVN_VERSION}
|
||||
echo "starting packaging supersonic release"
|
||||
cd $buildDir
|
||||
[ -d "$release_dir" ] && rm -rf "$release_dir"
|
||||
[ -f "$release_dir.zip" ] && rm -f "$release_dir.zip"
|
||||
mkdir $release_dir
|
||||
# package webapp
|
||||
tar xvf supersonic-webapp.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user