Repository navigation
v1.1.2
Changelog:
-
Version Checking Implementation:
- Added version checking at application startup using the GitHub Releases API.
- Integrated a CheckForUpdates() function to notify users if a newer version of the application is available.
- Included instructions for upgrading the app if a newer version is found.
- Implemented proper error handling for offline environments or connectivity issues.
-
Version Management via Git Tags:
- Updated the version handling mechanism to use Git tags for versioning.
- Introduced a version variable in the Go code, injected dynamically during the build process using Go's -ldflags.
-
CI Pipeline (GitHub Actions) Update:
- Modified the CI workflow to dynamically inject the Git tag as the version during the build process.
- Used -ldflags in the Go build step to set the version variable from the Git tag.
-
Secret Version Label Management:
- Implemented logic to remove labels from the oldest versions of AWS Secrets Manager secrets, keeping only the latest 15 versions.
- Utilized the AWS SDK to retrieve secret versions, sort them by creation date, and remove version labels from older versions while retaining the latest 15.