Skip to content

fix(ci): gate wallet builds and deployment on published releases - #613

Open
harshgupta6789 wants to merge 1 commit into
Greenstand:masterfrom
harshgupta6789:fix/ci-release-gating
Open

harshgupta6789 wants to merge 1 commit into
Greenstand:masterfrom
harshgupta6789:fix/ci-release-gating

Conversation

@harshgupta6789

@harshgupta6789 harshgupta6789 commented Oct 9, 2026 •

Copy link
Copy Markdown

The workflows currently build and push a Docker image even when semantic-release determines that no release is needed.

This change separates release, build, and deployment into dependent jobs. Builds require new-release-published == 'true', and development deployment and post-deploy tests also require their preceding jobs to succeed.

Release outputs are exported through @semantic-release/exec. Downstream jobs check out the release tag and use the released version as the Docker image tag. The release job fetches full Git history and uses Node.js LTS.

The same check is added to the v1.10 patch workflow. Run it from master; it still releases v1.10. The README has been updated with these instructions.

Validation: 11 local release scenarios passed, covering release, no-release, and failure paths. Workflow checks passed with existing deprecated-action warnings excluded. The workflows still need verification in GitHub Actions.

Related to Greenstand/treetracker-infrastructure#330. This PR covers treetracker-wallet-api only.

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