Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh123 committed Nov 28, 2022
1 parent 9cf095c commit 68f1e08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tar_file="xmlsec1-$version.tar.gz"
sig_file="xmlsec1-$version.sig"
rc_tar_file="xmlsec1-$version-$rc.tar.gz"
rc_sig_file="xmlsec1-$version-$rc.sig"
git_1_2_x_branch="xmlsec-1_2_x"
git_release_branch=`echo "xmlsec-$version" | sed 's/\./_/g'`
git_version_tag=`echo $version | sed 's/\./_/g'`

Expand All @@ -36,6 +37,9 @@ cd xmlsec
if [ x"$rc" != x ]; then
echo "============== Switching to release branch '$git_release_branch' for RC build '$rc'"
git checkout $git_release_branch
else
echo "============== Switching to 1.2.x branch '$git_1_2_x_branch'"
git checkout $git_1_2_x_branch
fi
find . -name ".git" | xargs rm -r

Expand Down

0 comments on commit 68f1e08

Please sign in to comment.