Skip to main content

REF_PLACEHOLDER

Constant REF_PLACEHOLDER 

Source
pub const REF_PLACEHOLDER: &str = "REPLACE_WITH_COMMIT_HASH";
Expand description

Placeholder written as repo.ref when ScaffoldConfig::git_ref is left at its default.

Deliberately not a valid git revision: ref must be pinned before the description.yml is submitted, and a scaffold that emitted main would look correct while producing an unreproducible build.