Skip to content

Conversation

@simo5
Copy link
Member

@simo5 simo5 commented Mar 10, 2025

Create a misc directory for stuff that is useful but that we do not want to clutter the root tree.

Add a release script that can be used after a release version has been created.

This script checks the version we are trying to make a release of is correctly set in Cargo.toml, and then proceeds to create matching signed tag and signed tarballs for the source and all the dependencies which are retrieved via cargo vendor.

Requires that the person running it has a properly setup gpg key suitable for signing releases.

Currently does not push the tag to github and requires that the release manager has permission to push the tag directly to the tree.

simo5 added 3 commits March 10, 2025 15:38
This did exclude directories like ./target but not ./vendor which
we generate in the release script, and there is a *lot* or .rs files in
there :)

Signed-off-by: Simo Sorce <[email protected]>
Copy link
Contributor

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

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

just a typo. Otherwise lgtm.

simo5 added 4 commits March 11, 2025 12:04
Signed-off-by: Simo Sorce <[email protected]>
This is probably a better experience for the casual user, but also makes
it simpler to try to release on crates.io as cargo package complains
that we are modifying the source when building openssl in the submodule
... sigh.

Signed-off-by: Simo Sorce <[email protected]>
cargo package scoops everything in git, including submodules.
Exclude stuff that is not necessary for a crates.io package.

Signed-off-by: Simo Sorce <[email protected]>
Add more about dependencies for the default build
Add a License and Contribution section to README

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 merged commit 654fa9e into latchset:main Mar 11, 2025
23 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