Skip to content

Commit 7ea31b5

Browse files
authored
Merge pull request #990 from zowe/user/markackert/fix-sigstore-bundle-links
Couple of small fixes
2 parents abd4f28 + 81a6d8e commit 7ea31b5

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

_data/releases.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Note - keep this in order as the latest release is pulled from the first item in the list!
33
future:
44
v3:
5-
- version: 3.4.0
6-
release_date: 2025-12-01
5+
- version: 3.5.0
6+
release_date: 2026-05-04
77
v2:
88
- version: 2.18.4
99
release_date: 2026-08-31
@@ -21,7 +21,7 @@ v3:
2121
explorer_version: 3.4.0
2222
node_sdk_version: 3.4.0
2323
python_sdk_version: 3.4.0
24-
release_date: 2025-01-06
24+
release_date: 2026-01-06
2525
documentation: stable
2626
release_notes: v3_4_0
2727
- version: 3.3.1

_includes/common.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,25 @@
5757
}
5858

5959
function hasBundle(packageType, packageVersion) {
60+
const versionParts = packageVersion.split('.');
61+
const major = Number(versionParts[0]);
62+
const minor = Number(versionParts[1]);
63+
const patch = Number(versionParts[3]);
6064
switch(packageType) {
6165
case 'smpe':
6266
case 'containerization':
6367
case 'pswi':
6468
case 'pax':
65-
if (packageVersion.startsWith("2.18") || packageVersion.startsWith("3.0")) {
69+
if ((major === 2 && minor >= 18 ) || major >= 3) {
6670
return true;
6771
}
68-
return false;
6972
case 'cli':
7073
case 'cli-plugins':
7174
case 'python-sdk':
7275
case 'nodejs-sdk':
76+
if ((major === 2 && minor >= 18 && patch >= 1) || (major == 3 && minor >=1)) {
77+
return true;
78+
}
7379
default:
7480
return false;
7581
}

index.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ redirect_from:
7171
{% assign release_date_v1 = site.data.releases.v1[0].release_date | date: '%s' | plus: 0 %}
7272
{% assign week_time = 1209600 %}
7373
{% assign today_minus_week = currentTime | minus: week_time %}
74-
{% if release_date_v1 > today_minus_week %}
75-
{% capture version_v1_announcements %}
76-
<strong>Zowe version {{ site.data.releases.v1[0].version }} is now available. You can download the installers for this release from the <a href="/download">Download</a> page. To learn what's new in this release, see the <a href="https://docs.zowe.org/v1.28.x/getting-started/release-notes/{{ site.data.releases.v1[0].release_notes }}">Release notes</a>.</strong>
77-
{% endcapture %}
78-
{% assign version_v1_announcements= version_v1_announcements | split: "~" %}
79-
{% assign announcements = version_v1_announcements | concat: announcements %}
80-
{% endif %}
8174
{% if release_date_v2 > today_minus_week %}
8275
{% capture version_v2_announcements %}
8376
<strong>Zowe version {{ site.data.releases.v2[0].version }} is now available. You can download the installers for this release from the <a href="/download">Download</a> page. To learn what's new in this release, see the <a href="https://docs.zowe.org/stable/getting-started/release-notes/{{ site.data.releases.v2[0].release_notes }}">Release notes</a>.</strong>
@@ -118,7 +111,7 @@ redirect_from:
118111

119112
{% assign next_version = 2.7 %}
120113
{% assign next_version_date = currentTime %}
121-
{% assign minimum_difference = 9999999 %}
114+
{% assign minimum_difference = 15770000 %} <!-- 6 months -->
122115
{% for release in site.data.releases.future.v3 %}
123116
{% assign current_release_date = release.release_date | date: '%s' | plus: 0 %}
124117
{% if current_release_date > currentTime %}

post_download.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extraJs: [common.html, post-download-script.html]
3434

3535
<code>Verified OK</code><br /><br />
3636

37-
If the veritication failed, you will see:<br />
37+
If the verification failed, you will see:<br />
3838

3939
<code>Error: error verifying bundle: matching bundle to payload: ....more output</code>
4040
<br /><br />
@@ -54,7 +54,7 @@ extraJs: [common.html, post-download-script.html]
5454

5555
<code>Verified OK</code><br /><br />
5656

57-
If the veritication failed, you will see:<br />
57+
If the verification failed, you will see:<br />
5858

5959
<code>Error: error verifying bundle: matching bundle to payload: ....more output</code>
6060
</details>
@@ -75,7 +75,7 @@ extraJs: [common.html, post-download-script.html]
7575
<ul id="sbom_bundle_download_options"></ul>
7676

7777
<p id="sbom_verification_instructions">See the <a href="#prereqs">How to verify binaries with digital signatures</a> to acquire the pre-requisite software,
78-
and for a description of online vs offline verficiation. Once you've reviewed that information, you can use the one of the below commands to digitally verify the SBOM. Each command assumes your SBOM and its respective signing bundle are in the same directory, and you have navigate your terminal there.</p>
78+
and for a description of online vs offline verification. Once you've reviewed that information, you can use the one of the below commands to digitally verify the SBOM. Each command assumes your SBOM and its respective signing bundle are in the same directory, and you have navigate your terminal there.</p>
7979

8080
<b>Online Verification</b><br />
8181
<code id="sbom_online_verification"></code>

0 commit comments

Comments
 (0)