Skip to content

Conversation

@twk3
Copy link
Contributor

@twk3 twk3 commented Jan 26, 2026

Adds version discrepancy detection to help users identify when their .env file has an outdated image tag, and updates upgrade documentation to clarify that users must update DC_CURRENTS_IMAGE_TAG to pull new versions.

Changes

check-env.sh

  • Compares DC_CURRENTS_IMAGE_TAG in .env with the VERSION file
  • Shows a yellow warning if they differ, with upgrade instructions

docs/upgrading.md

  • All three upgrade paths now explicitly mention updating DC_CURRENTS_IMAGE_TAG
  • Added note explaining that the tag controls which version is pulled
  • Referenced check-env.sh as a way to detect version discrepancies

Review hints

  • The script change is in on-prem/scripts/check-env.sh around line 61-77
  • Documentation changes add comments to existing code blocks and a callout note

Checklist

  • PR title is Changelog-friendly: (fix|feat|chore): title [CSR-xxx]
  • User-friendly and meaningful description of the changes
  • Documentation was updated

Summary by cubic

Adds a version check to on-prem/scripts/check-env.sh to warn when your .env tag is outdated, and updates upgrading docs to make tag updates explicit. This helps prevent pulling the wrong image version.

  • New Features
    • Compares DC_CURRENTS_IMAGE_TAG in .env to the VERSION file and shows a yellow warning if they differ.
    • Prints clear upgrade steps: update the tag, then run docker compose pull && docker compose up -d.

Written for commit 3131c28. Summary will update on new commits.

So users know to update their tag after pulling in a release from git.
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@twk3 twk3 requested a review from ynahmany January 26, 2026 22:18
@agoldis agoldis merged commit b1b9bf1 into main Jan 27, 2026
2 checks passed
@agoldis agoldis deleted the feat/version-check branch January 27, 2026 00:03
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.

3 participants