Skip to content

Commit

Permalink
Merge pull request #934 from gisaia/feat/enhance_build
Browse files Browse the repository at this point in the history
Remove test option
  • Loading branch information
MohamedHamouGisaia authored Jan 23, 2025
2 parents 651812e + 80c6712 commit b92fc56
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ function clean {
trap clean EXIT

usage(){
echo "Usage: ./release.sh -version=X [--no-tests]"
echo "Usage: ./release.sh -version=X"
echo " -version Release ARLAS-wui X version"
echo " --no-tests Skip running integration tests"
echo " --not-latest Doesn't tag the release version as the latest."
echo " -s|--stage Stage of the release : beta | rc | stable. If --stage is 'rc' or 'beta', there is no merge of develop into master (if -ref_branch=develop)"
echo " -i|--stage_iteration=n The released version will be : [x].[y].[z]-beta.[n] OR [x].[y].[z]-rc.[n] according to the given --stage"
Expand All @@ -36,10 +35,6 @@ case $i in
VERSION="${i#*=}"
shift # past argument=value
;;
--no-tests)
TESTS="NO"
shift # past argument with no value
;;
--not-latest)
IS_LATEST_VERSION="NO"
shift # past argument with no value
Expand All @@ -62,14 +57,6 @@ case $i in
esac
done

if [ "$TESTS" == "YES" ]; then
ng lint
ng test
ng e2e
else
echo "==> Skip tests"
fi

if [ -z ${REF_BRANCH+x} ];
then
echo ""
Expand Down

0 comments on commit b92fc56

Please sign in to comment.