Use build instead of number as variable for build number #267
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed that recent rebuild were not bumping the build number, see for example:
I looked into this, and apparently the bot assumes that the variable used to set the build number needs to be called either
build
orbuild_number
, but notnumber
as done in this recipe, see https://github.com/regro/cf-scripts/blob/bc57282361ba7437a46ee7ddde0783b94f1c1bc8/conda_forge_tick/update_recipe/build_number.py#L5-L11 .I choose to use
build
as it is the variable name more used in conda-forge and used in the knowledge base: https://github.com/conda-forge/conda-forge.github.io/blob/26db656d1b1828b14fa24f16820ba30ec31c387f/docs/maintainer/knowledge_base.md#L968 .Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)