Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: fix some wording in the comments
✗ CI failure Fintan Halpenny committed 6 months ago
commit 3a8cabcb2b48808bff7df7d49377a6a44487939d
parent c212259bad0e5cd2fd6a2f4df5a72c057241e683
2 failed (2 total) View logs
1 file changed +4 -4
modified build.rs
@@ -28,10 +28,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
        // many commits we are ahead, plus a short version of the
        // object ID of `HEAD`, e.g. `releases/x.y.z-80-gefe10f95be-dirty`
        // which would mean that we built 80 commits ahead of release
-
        // x.y.z, with efe10f95be beinga unique prefix of the OID of
+
        // x.y.z, with efe10f95be being a unique prefix of the OID of
        // `HEAD`, and the working directory was dirty.
-
        // If this is a build right at a release tag, this will
-
        // just return the tag name itelf, e.g. `releases/x.y.z`.
+
        // If this is a build pointing to a commit that has release tag, this
+
        // will just return the tag name itelf, e.g. `releases/x.y.z`.
        // If all fails, we just use `hash`, which, in the worst case is
        // still "unknown" (see above) but in most cases will just be
        // the short OID of `HEAD`.
@@ -52,7 +52,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
            .unwrap_or(hash.clone())
    });

-
    // Since in the previous step are likely to almost always end up with
+
    // Since in the previous step we are likely to almost always end up with
    // a prefix of `releases/`, as this is the scheme we use in this
    // repository, we remove this common prefix, to get nice version numbers.
    let version = if let Some(stripped) = version.strip_prefix("releases/") {