Skip to content

Conversation

@TimPietruskyRunPod
Copy link
Contributor

Changes

  • Updated grep pattern to handle all version constraint operators (>=, <=, ~=, ==)
  • Fixed version parsing to work with constraint expressions like '1.8,<2.0'
  • Simplified version comparison to check major version only
  • Updated sed command to preserve the >=version,<next_major constraint format
  • Automatically calculates next major version for safe version bumping

Why

The CI workflow was written for tilde-based versioning (~=) but now uses range-based constraints (>=1.8,<2.0). This fix ensures the workflow continues to properly detect and update runpod versions.

- update grep pattern to handle >=, <=, ~=, and == operators
- parse major version from constraint expressions (e.g. '1.8,<2.0')
- simplify version comparison to check major version only
- update sed command to preserve constraint format: >=version,<next_major
- automatically calculate next major version for safe version bumping
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