-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add support for automated release creation via GitHub Tags
Summary
Implement an “auto-release” workflow that automatically creates a new GitHub Release whenever a tag is pushed. This will streamline our release process—especially for organizations on GitHub’s free plan that cannot use paid Actions like actions/create-release.
Motivation
Currently our repository lacks an automated way to publish releases. Manually creating releases is error‑prone and time consuming. By adding a simple shell‑script‑based workflow in .github/workflows/publish.yml, we enable zero‑touch release creation without requiring paid GitHub features.
Proposed Implementation
Use a shell script within a YAML workflow (instead of a proprietary Action) to call the GitHub REST API and create a release. This approach matches the implementation in these reference repositories:
- Superlinear Substrate: https://github.com/superlinear-ai/substrate
- ThreatXManager (example workflow): https://github.com/CorreaCyberLabsLTD/threatXmanager/blob/main/.github/workflows/publish.yml
Key points
- Trigger:
on: pushwithtags: ['v*.*.*'] - Steps:
- Checkout code
- Use
curl(orgh release create) in a shell script - Populate release title/body from tag name and changelog (optional)
Acceptance Criteria
- New workflow file under
.github/workflows/publish.yml - Releases automatically created when pushing tags matching
v*.*.* - No paid Actions or marketplace dependencies
- Documentation updated in README
References
- Superlinear Substrate repo: https://github.com/superlinear-ai/substrate
- ThreatXManager example workflow: https://github.com/CorreaCyberLabsLTD/threatXmanager/blob/main/.github/workflows/publish.yml
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request