The scripts in this directory are:
- Optimized for the GitHub Actions environment
- Designed to work with specific workflow contexts and environment variables
- Not intended for manual execution by release managers
The Polaris release automation follows a structured workflow as illustrated in the flowchart below. The process involves both automated GitHub workflows and manual steps performed by release managers.
The release automation is implemented through the following GitHub workflows:
- Create Release Branch - Creates a new release branch from a specified Git SHA
- Update Release Candidate - Updates version files, finalizes changelog, and creates RC tags
- Build and Publish Artifacts - Consolidated workflow that:
- Performs prerequisite checks (tag validation, version extraction)
- Builds source/binary artifacts and publishes to Nexus staging
- Builds Docker images for server and admin tool
- Builds Helm charts and stages them to dist dev repository
- Publish Release - Finalizes the release:
- Copies distribution from dist dev to dist release space
- Creates a final release tag and GitHub release
- Publishes Docker images to Docker Hub
- Releases the candidate repository on Nexus
libs/- Shared library functions used across release scripts_constants.sh- Common constants and configuration_exec.sh- Command execution utilities_github.sh- GitHub API interaction functions_log.sh- Logging utilities_version.sh- Version handling functions
