Skip to content
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

Make import-flux2-assets.sh aware of the desired Flux version #1601

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

makkes
Copy link
Member

@makkes makkes commented Aug 2, 2023

Since the website will be built for the 2.0.x minor release, the import script needs to fetch the API docs for the controller versions of the latest 2.0.x Flux release. This change makes the script aware of the desired version (derived from the BRANCH environment variable that is set by Netlify).

This change is a subset of the changes implemented in #1577. We cannot simply backport 1577 since the changes in there required some changes to the controller API docs which haven't been released as part of a Flux 2.0.x release, yet.

@makkes makkes changed the base branch from main to v2-0 August 2, 2023 15:39
@makkes makkes force-pushed the make-import-script-branch-aware branch 5 times, most recently from 3b2adb8 to 81ccdf3 Compare August 2, 2023 16:10
Since the website will be built for the 2.0.x minor release, the
import script needs to fetch the API docs for the controller versions
of the latest 2.0.x Flux release. This change makes the script aware
of the desired version (derived from the `BRANCH` environment variable
that is set by Netlify).

This change is a subset of the changes implemented in #1577. We cannot
simply backport 1577 since the changes in there required some changes
to the controller API docs which haven't been released as part of a
Flux 2.0.x release, yet.

Signed-off-by: Max Jonas Werner <[email protected]>
@makkes makkes force-pushed the make-import-script-branch-aware branch from 81ccdf3 to 871e1ef Compare August 3, 2023 13:59
@makkes
Copy link
Member Author

makkes commented Aug 7, 2023

@stefanprodan this also needs to be merged before a 2.1 release so we don't generate the wrong docs on the 2.0 website.

@makkes makkes merged commit 071128d into v2-0 Aug 7, 2023
5 checks passed
@makkes makkes deleted the make-import-script-branch-aware branch August 7, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants