-
Notifications
You must be signed in to change notification settings - Fork 75
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
Nightly versions are the same as stable ones #570
Comments
After a discussion with @calldelegation to understand the intricacies of the repo, the below is the solution we agreed on. SolutionTo fix this, we'll create a cron job workflow that'll do the following:
With the solution above, we'd also solve the problem of manually updating stable versions (#571). One thing to think to keep in mind is that multiple repos can run the workflow near simulatenously and an incorrect version of the docs would be deployed. This could be solved by having the latest workflow run stop the existing run. Another thing to keep in mind is that the Next stepsAfter the solution above is implemented, we can investigate removing the submodules from the |
Run
git submodule status | sort
and you'll see that, for the paths that have nightly versions, the commit IDs of stable and nightly versions are the same. For example, this file in the sway docs should be different when the docs are set tonightly
but it's not.This is happening because the commit version fetched for the nightly version is the same as the latest release, so the commit IDs of the stable and nightly submodules are the same.
The text was updated successfully, but these errors were encountered: