Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
An oversight exists where prereleased models would have the same modulefile name as the soon-to-be-released one. For example,
access-om3/2024.02.1
. This would not change between commits in the PR, which would mean a bunch of deployed prereleases would share the same module name above, with only the first being pointed to.This PR adds a step into the deployment workflow in which we modify the version of the root SBD that the model is based on, giving it a unique
<model>/pr<number>-<commit>
style, similar to thespack env
name. For example,access-om3/pr12-2
.We've had to propagate the
root-sbd
input from theci
step all the way through the deployment workflow, as theyq
that overwrites the version may have a different name than the actual name of the model. For example, we used to haveaccess-om3-virtual
being the root SBD of theaccess-om3
model, before it was changed.