Add step-runner binaries to release notes
Changes
This merge request enhances the GitLab release deployment process by adding binary file uploads to package releases.
The main changes include:
-
Enhanced Release Process: The deployment pipeline now uploads compiled binary files to GitLab's package registry before creating releases, ensuring binaries are available when the release is published.
-
Improved Release Creation: The release creation step has been updated to automatically attach the uploaded binary files as downloadable assets, making them easily accessible to users.
-
Refactored Upload Component: The binary upload functionality has been restructured and renamed from "upload_release_binaries" to "upload_to_package_registry" with improved error handling and a cleaner API integration.
-
Better Security: Authentication has been improved by using environment variables for tokens instead of passing them as command-line arguments, which is more secure.
-
Streamlined Dependencies: The code now uses GitLab's official API client instead of third-party libraries, making it more reliable and maintainable.
The overall effect is a more robust release process where users can download pre-built binaries directly from GitLab releases, with better security practices and more reliable file handling throughout the deployment pipeline.
Example
Tested using a fork of the step-runner. See job.
| Screenshot |
|---|
![]() |
Reference
Related to issue Publish platform binaries to package manager on... (#327 - closed).
