This is an automated email from the ASF dual-hosted git repository.

wu-sheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-horizon-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 181a036  release: NOTICE copyright reads 2017-2026 (SkyWalking ASF 
inception)
181a036 is described below

commit 181a036ca05c19e574b77920cc8d5568189dfab7
Author: Wu Sheng <[email protected]>
AuthorDate: Thu May 21 10:26:03 2026 +0800

    release: NOTICE copyright reads 2017-2026 (SkyWalking ASF inception)
    
    Apache SkyWalking dates from its 2017 entry to the ASF, so the NOTICE
    copyright span is 2017-<current>, matching the main skywalking repo. Fix the
    root NOTICE and make the binary-NOTICE generator capture the full span (not
    just the first year) so both NOTICE files agree.
---
 NOTICE                            | 2 +-
 dist-material/release-docs/NOTICE | 2 +-
 scripts/collect-dist-licenses.mjs | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/NOTICE b/NOTICE
index 1cd91ee..ba02a83 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache SkyWalking Horizon UI
-Copyright 2026 The Apache Software Foundation
+Copyright 2017-2026 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/dist-material/release-docs/NOTICE 
b/dist-material/release-docs/NOTICE
index 2c7c16d..471f869 100644
--- a/dist-material/release-docs/NOTICE
+++ b/dist-material/release-docs/NOTICE
@@ -1,5 +1,5 @@
 Apache SkyWalking Horizon UI
-Copyright 2026 The Apache Software Foundation
+Copyright 2017-2026 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/scripts/collect-dist-licenses.mjs 
b/scripts/collect-dist-licenses.mjs
index 944a362..ea311e7 100644
--- a/scripts/collect-dist-licenses.mjs
+++ b/scripts/collect-dist-licenses.mjs
@@ -206,7 +206,9 @@ function readPkgJson(pkgPath) {
 function noticeYear() {
   try {
     const txt = readFileSync(resolve(repoRoot, 'NOTICE'), 'utf8');
-    const m = txt.match(/Copyright\s+(\d{4})/);
+    // Capture the full copyright span (e.g. `2017-2026`), not just the
+    // first year — Apache SkyWalking dates from its 2017 ASF inception.
+    const m = txt.match(/Copyright\s+(\d{4}(?:-\d{4})?)\s+The Apache Software 
Foundation/);
     if (m) return m[1];
   } catch {
     /* fall through */

Reply via email to