Skip to content

fix: handle case of missing versions.json#110

Merged
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:fix-missing-versions-json
May 13, 2026
Merged

fix: handle case of missing versions.json#110
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:fix-missing-versions-json

Conversation

@a-zw
Copy link
Copy Markdown
Contributor

@a-zw a-zw commented May 12, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Handles the edge case where versions.json does not yet exist on the gh-pages branch (e.g., on first deployment) by initializing it with an empty JSON array instead of letting git checkout fail the workflow.

Changes:

  • Wrap the git checkout base/gh-pages -- <versions_file> call with a fallback that creates an empty [] versions file when the file is missing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AlexanderLanin AlexanderLanin merged commit 7b265b4 into eclipse-score:main May 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants