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 0d1ea54 commit 8e49d99
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions makeBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ fi

(
cd build
if $( echo $ver | grep -q alpha ); then
sed -i"" -e "s/name=.*/\0 alpha/" \
-e "s/version=.*/version=$ver/" \

if [ "$ver" ]; then
sed --in-place="" -e "s/version=.*/version=$ver/" \
./$folder/metadata.txt
fi
if [ "$folderSuffix" ]; then
sed -i"" -e "s/name=.*/\0 $folderSuffix/" \
sed --in-place="" -e "s/\(name=.*\)/\1 $folderSuffix/" \
./$folder/metadata.txt
fi

python ../zip_dir.py $folder QGIS-XYZ-Plugin-$ver.zip
echo "Building completed: QGIS-XYZ-Plugin-$ver.zip"
)

0 comments on commit 8e49d99

Please sign in to comment.