Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
1932-name-of-executable-fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Cobbett <[email protected]>
  • Loading branch information
techcobweb committed Jul 31, 2024
1 parent 5312953 commit 1a5ac5f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions build-locally.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function check_versions_have_suffix() {
fi

cat << EOF > $BASEDIR/temp/versions-list-expected.txt
[galasabld versioning list --sourcefolderpath $BASEDIR/temp/src]
[$GALASABLD versioning list --sourcefolderpath $BASEDIR/temp/src]
dev.galasa.examples/module1 0.0.1$suffix
dev.galasa.examples/module2 0.0.2$suffix
EOF
Expand All @@ -211,7 +211,7 @@ EOF

function clear_version_suffixes() {
info "Removing the suffixes"
cmd="galasabld versioning suffix remove --sourcefolderpath $BASEDIR/temp/src "
cmd="$GALASABLD versioning suffix remove --sourcefolderpath $BASEDIR/temp/src "

info "Command is $cmd"
$cmd > $BASEDIR/temp/versions-removed.txt
Expand All @@ -221,7 +221,7 @@ function clear_version_suffixes() {

function gather_version_list() {
info "Listing the suffixes"
cmd="galasabld versioning list --sourcefolderpath $BASEDIR/temp/src "
cmd="$GALASABLD versioning list --sourcefolderpath $BASEDIR/temp/src "

info "Command is $cmd"
$cmd > $BASEDIR/temp/versions-list-got.txt
Expand All @@ -232,7 +232,7 @@ function gather_version_list() {
function set_version_suffixes() {
desired_suffix=$1
info "Setting the suffixes prefixes to $desired_suffix"
cmd="galasabld versioning suffix set --sourcefolderpath $BASEDIR/temp/src --suffix $desired_suffix"
cmd="$GALASABLD versioning suffix set --sourcefolderpath $BASEDIR/temp/src --suffix $desired_suffix"

info "Command is $cmd"
$cmd > $BASEDIR/temp/versions-set.txt
Expand Down Expand Up @@ -266,7 +266,10 @@ function build_openapi2beans() {
}

clean_temp_folder
# build_tools
build_tools

export GALASABLD=${BASEDIR}/bin/galasabld-darwin-arm64

test_versions_manipulation
# build_openapi2beans
# check_secrets
build_openapi2beans
check_secrets

0 comments on commit 1a5ac5f

Please sign in to comment.