Skip to content

Add automated GitHub release workflows#13

Merged
cwage merged 2 commits intomainfrom
enhance-github-actions-release
Aug 8, 2025
Merged

Add automated GitHub release workflows#13
cwage merged 2 commits intomainfrom
enhance-github-actions-release

Conversation

@cwage
Copy link
Owner

@cwage cwage commented Aug 8, 2025

Add comprehensive GitHub Actions workflows for automated package building and release creation with multi-architecture support and professional release notes.

- create-release.yml: Manual workflow to create releases with multi-arch packages
  - Supports building for multiple architectures (amd64, arm64)
  - Generates comprehensive release notes with download links
  - Creates GitHub release with all package artifacts
  - Configurable version, build type, and prerelease options

- release-on-tag.yml: Automatic release workflow triggered by version tags
  - Automatically builds and releases when tags like v1.0.0 are pushed
  - Builds both amd64 and arm64 packages
  - Auto-detects prerelease based on version format
  - Generates release notes with installation instructions

Both workflows provide downloadable .deb packages with proper release management.
Copilot AI review requested due to automatic review settings August 8, 2025 23:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds automated GitHub Actions workflows for package building and release management, enabling automated creation of Debian packages for multiple architectures with professional release notes.

  • Adds tag-triggered automated releases with multi-architecture package building
  • Implements manual release workflow with configurable build options and architecture selection
  • Generates comprehensive release notes with package information and installation instructions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
.github/workflows/release-on-tag.yml Automated workflow triggered by version tags to build packages for amd64/arm64 and create releases
.github/workflows/create-release.yml Manual dispatch workflow for creating releases with configurable parameters and matrix builds

- Fix wildcard file moves with proper error handling using nullglob
- Add comprehensive error handling for dpkg-deb commands
- Simplify architecture input parsing (comma-separated instead of space)
- Graceful handling of missing build artifacts with clear error messages
- Improved release notes generation with fallback for unknown architectures
- Added warnings for failed architecture detection in workflow summaries

All suggestions from Copilot PR review have been addressed to improve
workflow robustness and error reporting.
@cwage cwage merged commit adc1c3e into main Aug 8, 2025
1 check passed
@cwage cwage deleted the enhance-github-actions-release branch August 8, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments