Skip to content

Comments

task (release): Add workflow to publish binaries for each platform.#446

Open
jafin wants to merge 1 commit intombrt:masterfrom
jafin:task/publish-binaries
Open

task (release): Add workflow to publish binaries for each platform.#446
jafin wants to merge 1 commit intombrt:masterfrom
jafin:task/publish-binaries

Conversation

@jafin
Copy link
Contributor

@jafin jafin commented Feb 15, 2026

Amend to your preference.

Summary

  • Add GitHub Actions workflow to build and publish release binaries for multiple platforms
  • Supports manual trigger (workflow_dispatch) and automatic trigger on version tags

Changes

Introduces a new release workflow (.github/workflows/release.yml) that automates the creation of platform-specific binaries when a new version is released.

Relates to #427

Copy link
Owner

@mbrt mbrt left a comment

Choose a reason for hiding this comment

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

I think it would be easier to rework the whole workflow and make it end to end. Perhaps using gorelease and merging with .github/workflows/bump-version.yml.

- name: Determine version
id: version
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ inputs.tag }}" ]; then
Copy link
Owner

Choose a reason for hiding this comment

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

I think it's safer to use git describe --always --tags --dirty for all cases instead of manually constructing this?

- name: Determine version
id: version
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ inputs.tag }}" ]; then
Copy link
Owner

Choose a reason for hiding this comment

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

Why is this duplicated?

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.

2 participants