Skip to content

conda: restore buildnum#2329

Open
casperdcl wants to merge 1 commit into
masterfrom
buildnum
Open

conda: restore buildnum#2329
casperdcl wants to merge 1 commit into
masterfrom
buildnum

Conversation

@casperdcl
Copy link
Copy Markdown
Member

@casperdcl casperdcl commented May 21, 2026

@casperdcl casperdcl requested a review from a team as a code owner May 21, 2026 07:39
Comment thread recipe.yaml
version: ${{ git.latest_tag(".") | replace("v", "") }} # .dev${{ build_number }}+g${{ git.head_rev(".") }} # ratter-build --experimental
build_number: ${{ git.latest_tag_distance(".") }} # ratter-build>=0.65 --experimental
semver: ${{ git.latest_tag(".") | replace("v", "") }}
devver: ${{ semver }}.dev${{ build_number }}+g${{ git.head_rev(".")[:9] }} # ratter-build --experimental
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

whilst this follows the pip convention, unsure if it's appropriate for conda.

Build number is already suffixed to the build string, while the git hash could be inserted into the build string prefix too?

@github-project-automation github-project-automation Bot moved this to Todo in CIL work May 26, 2026
@lauramurgatroyd lauramurgatroyd moved this from Todo to Priority review in CIL work May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Priority review

Development

Successfully merging this pull request may close these issues.

2 participants