Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
feat: pin spdx license list to v3.17
Browse files Browse the repository at this point in the history
The later steps in the workflow do not automatically handle updated SPDX license
list versions. Pin the used version in the CLI so the later steps work.
  • Loading branch information
mmurto committed Aug 22, 2022
1 parent 61c56cd commit 6b7e3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/fossology.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub struct QueryArguments {
pub fn query(arguments: QueryArguments, fossology: &Fossology) -> anyhow::Result<()> {
let mut spdx = deserialize_spdx(&arguments.input)?;

let license_list = LicenseList::from_github(None)?;
let license_list = LicenseList::from_github(Some("v3.17"))?;
populate_spdx_document_from_fossology(fossology, &mut spdx, &license_list)?;

serialize_spdx(arguments.output, &spdx)?;
Expand Down

0 comments on commit 6b7e3de

Please sign in to comment.