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

PoC: Fix skipping files that were not modified in the current calendar year #39

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

denis-tingaikin
Copy link
Owner

Motivation

Closes #22

Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
@denis-tingaikin denis-tingaikin changed the title PoC: Solve ticket https://github.com/denis-tingaikin/go-header/issues/22 PoC: Fix skipping files that were not modified in the current calendar year Feb 18, 2024
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
Copy link

@ldez ldez left a comment

Choose a reason for hiding this comment

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

Tested on:

  • test files inside golangci-lint
  • projects that use go-header (through golangci-lint) with old files

And it works 🎉

I tested year-range and mod-year-range, and the 2 variables work as expected.

Thank you @denis-tingaikin ❤️

@denis-tingaikin
Copy link
Owner Author

@ldez Woot! Many thanks for testing. So merging this.

@denis-tingaikin denis-tingaikin merged commit 3afde47 into main Feb 25, 2024
2 checks passed
@ldez
Copy link

ldez commented Feb 25, 2024

@denis-tingaikin do you plan to create a release (v0.5.0) today?

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.

go-header skips files not modified in the current calendar year
2 participants