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

Add "Set the /build/number back to 0" logic to bump-recipe #231

Merged
merged 8 commits into from
Nov 13, 2024
Prev Previous commit
Update conda_recipe_manager/commands/bump_recipe.py
  • Loading branch information
schuylermartin45 authored Nov 13, 2024
commit e30f5c3d13fb54d988ceafa9bd530e53588c7164
4 changes: 2 additions & 2 deletions conda_recipe_manager/commands/bump_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def _get_required_patch_blob(recipe_parser: RecipeParser, increment_build_num: b
"""
Returns the required JSON Patch Blob

:recipe_parser: RecipeParser object
:build_num: `build_num` boolean flag
:param recipe_parser: Recipe file to update.
:param increment_build_num: Increments the `/build/number` field by 1 if set to `True`. Otherwise resets to 0.
:returns: A JSON Patch blob to add or modify the build number
"""

Expand Down
Loading