Skip to content

Do a full clone in release workflow#29

Merged
mdickinson merged 1 commit into
mainfrom
fix/release-version
Aug 21, 2022
Merged

Do a full clone in release workflow#29
mdickinson merged 1 commit into
mainfrom
fix/release-version

Conversation

@mdickinson
Copy link
Copy Markdown
Owner

This PR ensures that in the release workflow we do a full clone, so that setuptools_scm has enough information to compute a version number.

We don't strictly need this if we only ever expect to be making releases from a tagged commit (which seems likely), but the failure mode if this is left out is that we compute a wrong version. So it seems better to include it. If some future version of setuptools_scm makes this an error, it should be safe to remove this.

See pypa/setuptools-scm#480 for more discussion.

@mdickinson mdickinson merged commit ed8d3f4 into main Aug 21, 2022
@mdickinson mdickinson deleted the fix/release-version branch August 21, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant