Skip to content

Conversation

@Romelium
Copy link
Owner

The previous release workflow created archives that extracted their contents directly into the current directory ("tarbombs"). This is not a best practice and is incompatible with tools like cargo-binstall.

This commit refactors the release process to fix this by creating a single root directory within each archive (e.g., dircat-v1.2.3-x86_64.../) that contains the binary, LICENSE, and README files.

Additional improvements include:

  • Upgrading softprops/action-gh-release to v2 and enabling generate_release_notes: true for automated changelogs.
  • Adding a workflow_dispatch trigger to allow for manual release creation.
  • Adding extensive comments throughout the workflow file to improve clarity and maintainability.

The previous release workflow created archives that extracted their contents directly into the current directory ("tarbombs"). This is not a best practice and is incompatible with tools like `cargo-binstall`.

This commit refactors the release process to fix this by creating a single root directory within each archive (e.g., `dircat-v1.2.3-x86_64.../`) that contains the binary, LICENSE, and README files.

Additional improvements include:

- Upgrading `softprops/action-gh-release` to v2 and enabling `generate_release_notes: true` for automated changelogs.
- Adding a `workflow_dispatch` trigger to allow for manual release creation.
- Adding extensive comments throughout the workflow file to improve clarity and maintainability.
@Romelium Romelium merged commit 8be6c7b into test-workflow Oct 30, 2025
3 checks passed
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