8000 Fix arcade.version.VERSION conversion from GitHub CI format by pushfoo · Pull Request #2569 · pythonarcade/arcade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix arcade.version.VERSION conversion from GitHub CI format #2569

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

Merged
merged 11 commits into from
Feb 17, 2025

Conversation

pushfoo
Copy link
Member
@pushfoo pushfoo commented Feb 17, 2025

TL;DR: Stop swallowing last . + add extensive tests, error reporting, and doc

Why?

Release time is not a fun time to be debugging weird issues:

  1. cspotcode is right, the current code is broken:

    The version numbering bug will publish it as a minor bump instead of a patch bump

  2. We should verify that our release-critical code does what it says
  3. The code should tell us what went wrong during build, not ERROR: Unable to load version number via './VERSION'

What?

  1. Explain what's in the can and why
    • Our release process
    • A ctrl-clickable link to the version bump GH action's config YAML
  2. Aggressive tests covering various possible typos or misconfigurations
  3. Explain what went wrong in more detail if/when it does

Bonus: special-case "3.0.0" to "3.0" to avoid churn in bookmarks / etc change detection due to the title changing.

@pushfoo pushfoo merged commit dd2b417 into development Feb 17, 2025
9 checks passed
@pushfoo
Copy link
Member Author
pushfoo commented Feb 17, 2025

In case anyone asks why I merged this already:

  1. It fixes a bug
  2. It adds unit tests future implementations with even better reporting can use
  3. It sets up cleaning more things from doc/conf.py

@eruvanos eruvanos deleted the fix-arcade.VERSION branch February 17, 2025 07:33
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.

1 participant
0