Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version tag for python wheel sdist #1640

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

cary-ilm
Copy link
Member

The sdist wasn't picking up the dynamically-generated version from the tag name, so wasn't getting published.

Signed-off-by: Cary Phillips <[email protected]>
@@ -39,6 +39,8 @@ jobs:
- name: Create sdist
# Only create it once.
if: ${{ matrix.os == 'ubuntu-latest' }}
env:
OPENEXR_RELEASE_CANDIDATE_TAG: ${{ github.ref_name }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be set only for release candidates?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I removed it. Technically it doesn't matter since the result would be the same, since the release tag will be the same as the version, but logically the RELEASE_CANDIDATE_TAG should not play a part here. Thanks!

@cary-ilm cary-ilm merged commit 68470dd into AcademySoftwareFoundation:main Feb 16, 2024
7 checks passed
cary-ilm added a commit to cary-ilm/openexr that referenced this pull request Mar 3, 2024
* Fix version tag for sdist

Signed-off-by: Cary Phillips <[email protected]>

* Don't set OPENEXR_RELEASE_CANDIDATE_TAG for the non-test publish

Signed-off-by: Cary Phillips <[email protected]>

---------

Signed-off-by: Cary Phillips <[email protected]>
cary-ilm added a commit that referenced this pull request Mar 4, 2024
* Fix version tag for sdist

Signed-off-by: Cary Phillips <[email protected]>

* Don't set OPENEXR_RELEASE_CANDIDATE_TAG for the non-test publish

Signed-off-by: Cary Phillips <[email protected]>

---------

Signed-off-by: Cary Phillips <[email protected]>
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.

2 participants