Skip to content

Fix GitHub Action version updating script to only target the package being updated #2381

@anth-volk

Description

@anth-volk

When changes are pushed to the API, it automatically runs a script to update the package version number. This script just looks for the old version number, then replaces it with the new one. In a very small subset of cases, that version number is the exact same as for another package, causing the script to update both. This can cause deployment errors; for example, https://github.com/PolicyEngine/policyengine-api/actions/runs/14500259096/job/40728992265 fails because -core doesn't have a version 3.17.1, which it had been updated to because the API had been updated to that version.

We should fix the relevant scrip to only update the correct package.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions