Skip to content

etc/scripts/set_copyright_year.sh: Fix exit bug and check LICENSE#464

Merged
s-heppner merged 2 commits intoeclipse-basyx:developfrom
rwth-iat:fix/458
Feb 25, 2026
Merged

etc/scripts/set_copyright_year.sh: Fix exit bug and check LICENSE#464
s-heppner merged 2 commits intoeclipse-basyx:developfrom
rwth-iat:fix/458

Conversation

@moritzsommer
Copy link
Contributor

Previously, the EXIT_CODE of the copyright year check was hardcoded to the value 0, causing the CI to pass unconditionally.

This fixes the bug by coupling the EXIT_CODE to the result of the copyright year check. Moreover, the check has been extended to additionally verify the copyright year of the LICENSE file.

Fixes #458

Previously, the `EXIT_CODE` of the copyright year check was hardcoded to
the value 0, causing the CI to pass unconditionally.

This fixes the bug by coupling the `EXIT_CODE` to the result of the
copyright year check. Moreover, the check has been extended to
additionally verify the copyright year of the `LICENSE` file.

Fixes eclipse-basyx#458
@moritzsommer
Copy link
Contributor Author

Ironically, the failing pipeline now represents a successful check for the given issue.

Copy link
Member

@s-heppner s-heppner left a comment

Choose a reason for hiding this comment

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

LGTM

@s-heppner s-heppner merged commit 66374ea into eclipse-basyx:develop Feb 25, 2026
15 checks passed
@s-heppner s-heppner deleted the fix/458 branch February 25, 2026 09:08
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.

2 participants