-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add branded_preview to the FOAS release process #136
Conversation
.github/scripts/branded_preview.sh
Outdated
done < <(jq -r '.[]' versions.json) | ||
|
||
all_urls=( | ||
"https://raw.githubusercontent.com/mongodb/openapi/${target_env:?}/openapi/v2.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to have a target_branch that is equal to target_env except for prod
, where it should be main
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch! yes, indeed. I will update it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Proposed changes
This PR updates the FOAS release process to generate a
branded_preview.html
using thefoascli versions
command similar to what we have in evergreenFile generated by running the script locally using target_env=dev