Skip to content

Commit bbac5df

Browse files
authored
Merge pull request #105 from sanders41/pypi-publish
Fix bug where pypi publish is always created
2 parents ab63330 + 0237abe commit bbac5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/project_generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ pub fn generate_project(project_info: &ProjectInfo) -> Result<()> {
679679
}
680680
}
681681

682-
if save_pypi_publish_file(project_info).is_err() {
682+
if project_info.use_continuous_deployment && save_pypi_publish_file(project_info).is_err() {
683683
bail!("Error creating PYPI publish file");
684684
}
685685

0 commit comments

Comments
 (0)