Add release version and commit links to footer with GitHub releases#52
Open
Add release version and commit links to footer with GitHub releases#52
Conversation
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.
efc7287 to
a621f79
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit implements the following enhancements:
Footer Display Changes:
Environment Configuration:
Jenkins Pipeline Updates:
Component & Test Updates:
This enables users to easily navigate to both the specific release version and individual commits from the application footer.