Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(release): add automated binary releases #2

Merged
merged 1 commit into from Jul 27, 2023

Conversation

orhun
Copy link
Collaborator

@orhun orhun commented Jul 27, 2023

Addresses #1 (triggered by pushing a tag, e.g. v0.1.0)

release.yml

Tested here: https://github.com/orhun/rustycli/actions/runs/5680656969
Example artifacts: https://github.com/orhun/rustycli/releases/tag/v0.1.0-test2

A couple of notes:

  • Removed Cargo.lock from .gitignore and committed it to the repo (needed for binary builds + --locked flag)
  • Switched to rustls feature for reqwest for easier cross-compilation (see OpenSSL error cross-rs/cross#510)
  • Don't forget to add CARGO_TOKEN as secret before merge for crates.io releases
  • Consider adding a CHANGELOG.md and RELEASE.md

@orhun orhun requested a review from pwnwriter July 27, 2023 12:53
@pwnwriter pwnwriter merged commit fa65204 into bytehunt:main Jul 27, 2023
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.

None yet

2 participants