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

Fixed missing new version info in some hook environments #235

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

coordt
Copy link
Member

@coordt coordt commented Sep 14, 2024

No description provided.

Introduce the `new_version_env` function and update existing functions (`get_setup_hook_env` and `get_pre_commit_hook_env`) to include new version environment variables. Added new tests for verifying the inclusion of OS, SCM, current, and new version information in hook environments.
Copy link

Version hint: patch
Current version: 0.26.0
New version (when merged): 0.26.1

Comment ID: Display the version hint-auto-generated

Copy link

PR Preview Action v1.4.7
🚀 Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-235/
on branch gh-pages at 2024-09-14 13:28 UTC

Copy link

codecov bot commented Sep 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.97%. Comparing base (d21d6df) to head (24a9bdc).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage   93.94%   93.97%   +0.02%     
==========================================
  Files          26       26              
  Lines        1702     1709       +7     
  Branches      330      330              
==========================================
+ Hits         1599     1606       +7     
  Misses         75       75              
  Partials       28       28              
Flag Coverage Δ
python-3.10 93.97% <100.00%> (+0.02%) ⬆️
python-3.11 93.97% <100.00%> (+0.02%) ⬆️
python-3.8 93.88% <100.00%> (+0.02%) ⬆️
python-3.9 93.88% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coordt coordt merged commit dd9a403 into master Sep 14, 2024
14 of 15 checks passed
@coordt coordt deleted the 234-fix-new_version-and-new_tag-env-vars branch September 14, 2024 13:35
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.

BVHOOK_NEW_VERSION and BVHOOK_NEW_TAG environment variables not set for pre- or post-commit
1 participant