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

Commit

Permalink
merged main into this branch
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Cobbett <[email protected]>
  • Loading branch information
techcobweb committed Jul 4, 2024
2 parents 879de8b + d149612 commit b97bc3e
Show file tree
Hide file tree
Showing 2 changed files with 554 additions and 409 deletions.
16 changes: 16 additions & 0 deletions build-locally.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,23 @@ function check_secrets {
success "secrets audit complete"
}

function update_release_yaml {
h2 "Updating release.yaml"

# After running 'gradle build', a release.yaml file should have been automatically generated
generated_release_yaml="${BASEDIR}/galasa-managers-parent/build/release.yaml"
current_release_yaml="${BASEDIR}/release.yaml"

if [[ -f ${generated_release_yaml} ]]; then
cp ${generated_release_yaml} ${current_release_yaml}
success "Updated release.yaml OK"
else
warn "Failed to automatically generate release.yaml, please ensure any changed bundles have had their versions updated in ${current_release_yaml}"
fi
}


build_code
update_release_yaml

check_secrets
Loading

0 comments on commit b97bc3e

Please sign in to comment.