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

Build: Add script to bump copyright year #137

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Feb 20, 2024

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

Closes #13.

Description

Change the year of copyright.
The regex might be rethought for the project, but it seems to work pretty well here.

Motivation & Context

Ease maintenance and avoid to forget a file during the bump.

Types of change

  • New feature (non-breaking change which adds functionality)

Test checklist

  • Check by changing ${new Date().getFullYear()} by 2021 for example and run npm run copyright. Then check all the changes.

Copy link

netlify bot commented Feb 20, 2024

Deploy Preview for ods-charts ready!

Name Link
🔨 Latest commit 1cfaf7d
🔍 Latest deploy log https://app.netlify.com/sites/ods-charts/deploys/65d6fb3008f4b000089105e3
😎 Deploy Preview https://deploy-preview-137--ods-charts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

julien-deramond

This comment was marked as resolved.

@julien-deramond julien-deramond added enhancement New feature or request tools labels Feb 21, 2024
@louismaximepiton

This comment was marked as resolved.

@julien-deramond julien-deramond self-requested a review February 22, 2024 07:43
Copy link
Contributor

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Thanks for tackling it @louismaximepiton
I've just added NOTICE.txt to the list and modified some namings via 1cfaf7d

@julien-deramond julien-deramond merged commit 9ee6c16 into Orange-OpenSource:main Feb 22, 2024
4 checks passed
@louismaximepiton louismaximepiton deleted the main-lmp-bump-copyright branch March 12, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically update copyright dates
2 participants