Skip to content

Update GitHub Action to publish CLI binaries as release assets#40

Merged
zfields merged 4 commits intomasterfrom
devin/1746455565-add-cli-build-workflow
May 5, 2025
Merged

Update GitHub Action to publish CLI binaries as release assets#40
zfields merged 4 commits intomasterfrom
devin/1746455565-add-cli-build-workflow

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Update GitHub Action to publish CLI binaries as release assets

This PR updates the existing release workflow to publish the notecard and notehub CLI binaries directly as release assets when a new release is created.

The assets will be formatted following the pattern in the v1.6.1 release.

Requested by: zfields@blues.com

Link to Devin run: https://app.devin.ai/sessions/ecdc8c53e92a4357bbe7f5e9d1451cd5

• Modifies the existing release workflow to publish binaries directly as release assets
• Uses softprops/action-gh-release to upload tar.gz files and checksums to the release
• Ensures assets match the format in v1.6.1 release

Co-Authored-By: zfields@blues.com <zfields@blues.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

Original prompt from zfields@blues.com:

Create a GitHub action that will use the Go tools to generate binaries for both the notecard and notehub CLIs for all platforms when a new release is created.

Those binaries and the list of checksums should be published to the release as "Assets",

Model this request after the Assets found on [release v1.6.1](https://github.com/blues/note-cli/releases/tag/v1.6.1).

@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

devin-ai-integration Bot and others added 3 commits May 5, 2025 14:55
…eases

• Adds 'published' event type to workflow trigger
• Ensures workflow runs when draft releases are published
• Fixes issue where workflow didn't run for v1.7.1

Co-Authored-By: zfields@blues.com <zfields@blues.com>
• Removes 'created' event type from workflow trigger
• Adds workflow_dispatch to allow manual triggering
• Keeps 'published' trigger for draft release publication

Co-Authored-By: zfields@blues.com <zfields@blues.com>
• Restores original artifact upload configuration
• Keeps workflow_dispatch and published triggers
• Makes minimal changes to existing workflow

Co-Authored-By: zfields@blues.com <zfields@blues.com>
@zfields zfields marked this pull request as ready for review May 5, 2025 15:05
@zfields zfields merged commit a18eea3 into master May 5, 2025
1 check passed
@zfields zfields deleted the devin/1746455565-add-cli-build-workflow branch May 5, 2025 15:06
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