Skip to content

Conversation

@Mbd06b
Copy link
Member

@Mbd06b Mbd06b commented Nov 18, 2025

This commit implements the following enhancements:

  1. Footer Display Changes:

    • Added release version link (e.g., v1.0.0) pointing to GitHub releases page
    • Kept existing commit hash link for easy access to specific commits
    • Both links now visible in the footer build info section
  2. Environment Configuration:

    • Added version field to all environment files (prod, staging, alpha, dev)
    • VERSION_PLACEHOLDER added for build-time replacement in prod/staging/alpha
    • Local dev environment uses '1.0.0-dev' for development
  3. Jenkins Pipeline Updates:

    • Updated Build App stage to replace VERSION_PLACEHOLDER with BASE_VERSION
    • Added new "Create GitHub Release" stage for main branch deployments
    • Release creation includes:
      • Checks if release already exists to prevent duplicates
      • Creates annotated git tag (e.g., v1.0.0) * Pushes tag to GitHub * Creates GitHub release via API with deployment metadata
    • Requires 'github-pat' credential in Jenkins
  4. Component & Test Updates:

    • Updated FooterComponent to include version and githubReleaseUrl
    • Added comprehensive tests for version link rendering
    • Updated existing tests to verify both release and commit links

This enables users to easily navigate to both the specific release version and individual commits from the application footer.

This commit implements the following enhancements:

1. **Footer Display Changes:**
   - Added release version link (e.g., v1.0.0) pointing to GitHub releases page
   - Kept existing commit hash link for easy access to specific commits
   - Both links now visible in the footer build info section

2. **Environment Configuration:**
   - Added version field to all environment files (prod, staging, alpha, dev)
   - VERSION_PLACEHOLDER added for build-time replacement in prod/staging/alpha
   - Local dev environment uses '1.0.0-dev' for development

3. **Jenkins Pipeline Updates:**
   - Updated Build App stage to replace VERSION_PLACEHOLDER with BASE_VERSION
   - Added new "Create GitHub Release" stage for main branch deployments
   - Release creation includes:
     * Checks if release already exists to prevent duplicates
     * Creates annotated git tag (e.g., v1.0.0)
     * Pushes tag to GitHub
     * Creates GitHub release via API with deployment metadata
   - Requires 'github-pat' credential in Jenkins

4. **Component & Test Updates:**
   - Updated FooterComponent to include version and githubReleaseUrl
   - Added comprehensive tests for version link rendering
   - Updated existing tests to verify both release and commit links

This enables users to easily navigate to both the specific release version
and individual commits from the application footer.
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