Skip to content

fix(bump): fixed environment variables in bump hooks - #675

Merged
Lee-W merged 1 commit into
commitizen-tools:masterfrom
skoef:fix-hooks-env-regression
Feb 25, 2023
Merged

fix(bump): fixed environment variables in bump hooks#675
Lee-W merged 1 commit into
commitizen-tools:masterfrom
skoef:fix-hooks-env-regression

Conversation

@skoef

Copy link
Copy Markdown
Contributor

During development of #644, merging the hook environment variables with existing OS variables broke. This commit fixes that. I think it got missing during an additional rebase of that MR, but it is fixed again.

@skoef
skoefforce-pushed the fix-hooks-env-regression branch 3 times, most recently from d7c5337 to dab8a7fCompareFebruary 23, 2023 17:26
During development of commitizen-tools#644, merging the hook environment variables with existing OS variables broke.
@skoef
skoefforce-pushed the fix-hooks-env-regression branch from dab8a7f to 6659abaCompareFebruary 23, 2023 17:29
@codecov

codecovBot commented Feb 23, 2023

Copy link
Copy Markdown

Codecov Report

Base: 97.92% // Head: 98.02% // Increases project coverage by +0.09% 🎉

Coverage data is based on head (6659aba) compared to base (619e2d2).
Patch coverage: 91.81% of modified lines in pull request are covered.

Additional details and impacted files
@@ Coverage Diff @@## master #675 +/- ##
==========================================
+ Coverage 97.92% 98.02% +0.09% 
==========================================
Files 35 40 +5 Lines 1252 1720 +468 ==========================================
+ Hits 1226 1686 +460 - Misses 26 34 +8 
FlagCoverage Δ
unittests98.02% <91.81%> (+0.09%)⬆️

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

Impacted FilesCoverage Δ
commitizen/cli.py93.93% <ø> (ø)
commitizen/commands/init.py87.93% <84.00%> (-3.74%)⬇️
commitizen/hooks.py95.65% <95.65%> (ø)
commitizen/__version__.py100.00% <100.00%> (ø)
commitizen/bump.py100.00% <100.00%> (ø)
commitizen/cmd.py100.00% <100.00%> (ø)
commitizen/commands/bump.py97.46% <100.00%> (+0.15%)⬆️
commitizen/commands/check.py100.00% <100.00%> (ø)
commitizen/config/yaml_config.py100.00% <100.00%> (ø)
commitizen/defaults.py100.00% <100.00%> (ø)
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@skoef

Copy link
Copy Markdown
ContributorAuthor

@Lee-W perhaps you could take a look at it?

@Lee-W
Lee-W self-requested a review February 25, 2023 07:47
@Lee-W
Lee-W merged commit 3ce4ed8 into commitizen-tools:masterFeb 25, 2023
Sign up for freeto 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

@skoef@Lee-W