Skip to content

Commit

Permalink
adjust build script
Browse files Browse the repository at this point in the history
Signed-off-by: minff <[email protected]>
  • Loading branch information
minff committed Aug 6, 2024
1 parent b32720c commit 3465c65
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions makeBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ fi

(
cd build
if $( echo $ver | grep -q alpha ); then
sed -i"" -e "s/name=.*/\0 alpha/" \
-e "s/version=.*/version=$ver/" \
./$folder/metadata.txt
fi
sed -i "" -e "s/version=.*/version=$ver/" \
./$folder/metadata.txt
if [ "$folderSuffix" ]; then
sed -i"" -e "s/name=.*/\0 $folderSuffix/" \
sed -i "" -e "s/\(name=.*\)/\1 $folderSuffix/" \
./$folder/metadata.txt
fi

Expand Down

0 comments on commit 3465c65

Please sign in to comment.