Skip to content

Commit

Permalink
Merge pull request #105 from sanders41/pypi-publish
Browse files Browse the repository at this point in the history
Fix bug where pypi publish is always created
  • Loading branch information
sanders41 authored Oct 16, 2023
2 parents ab63330 + 0237abe commit bbac5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ pub fn generate_project(project_info: &ProjectInfo) -> Result<()> {
}
}

if save_pypi_publish_file(project_info).is_err() {
if project_info.use_continuous_deployment && save_pypi_publish_file(project_info).is_err() {
bail!("Error creating PYPI publish file");
}

Expand Down

0 comments on commit bbac5df

Please sign in to comment.