Skip to content

Commit 4763dae

Browse files
committed
testing release system
1 parent 5e8cf8a commit 4763dae

8 files changed

Lines changed: 169 additions & 23 deletions

File tree

content/releases/v0.1.0.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
+++
2+
title = "Cache v0.1.0"
3+
date = 2026-03-19
4+
description = "Cache v0.1.0 release artifacts and verification"
5+
6+
[extra]
7+
artifact_count = 3
8+
github_release = "https://github.com/rocketware/cache/releases/tag/v0.1.0"
9+
10+
[[extra.artifacts]]
11+
platform = "android"
12+
format = "apk"
13+
filename = "cache-0.1.0-android-arm64.apk"
14+
sha256 = "906131fd6511781025fbf230cdec39f79be6811bf2a48ea0e4ed854bc73cd319"
15+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-arm64.apk"
16+
17+
[[extra.artifacts]]
18+
platform = "android"
19+
format = "apk"
20+
filename = "cache-0.1.0-android-arm.apk"
21+
sha256 = "4178138db2152ab624a26eeaecde1de6dd6f455963fe70ce5286a1997f086569"
22+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-arm.apk"
23+
24+
[[extra.artifacts]]
25+
platform = "android"
26+
format = "apk"
27+
filename = "cache-0.1.0-android-x64.apk"
28+
sha256 = "e30b20274cb865c69fc42df7f01fe0b5ea7a008bcd64cb00f2b546cb35bab571"
29+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-x64.apk"
30+
+++

data/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ symbol = "€"
2525
label = "EUR"
2626
position = "prefix"
2727

28+
# Android APK signing certificate fingerprints (SHA-256)
29+
[signing_keys.android]
30+
rocketware = "e0fb26d760323772b247b4d35d342fb0ef409b17227cdbcaa843d39a24fa431e"
31+
google_play = ""
32+
2833
# Personal plan — graduated pricing by repository count
2934
# First repo at full price, each additional at a flat discount rate
3035
[plans.personal]

data/downloads.toml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Cache Download Sources — latest versions for the website
22
# Template priority: store_url > github_url > disabled
33

4-
latest_version = ""
4+
latest_version = "0.1.0"
55

66
[[platforms]]
77
id = "android"
@@ -13,17 +13,42 @@ verify_anchor = "android-apk"
1313
id = "play_store"
1414
name = "Google Play"
1515
store_url = "https://play.google.com/store/apps/details?id=io.rocketware.cache.googleplay"
16-
enabled = true
16+
enabled = false
1717

1818
[[platforms.downloads]]
1919
id = "accrescent"
2020
name = "Accrescent"
2121
enabled = false
2222

2323
[[platforms.downloads]]
24-
id = "apk"
25-
name = "APK"
26-
enabled = false
24+
id = "apk_arm64"
25+
name = "APK (arm64)"
26+
version = "0.1.0"
27+
signing_key = "e0fb26d760323772b247b4d35d342fb0ef409b17227cdbcaa843d39a24fa431e"
28+
checksum = "sha256:906131fd6511781025fbf230cdec39f79be6811bf2a48ea0e4ed854bc73cd319"
29+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-arm64.apk"
30+
rocketware_url = "https://download.rocketware.io/cache/v0.1.0/cache-0.1.0-android-arm64.apk"
31+
enabled = true
32+
33+
[[platforms.downloads]]
34+
id = "apk_arm"
35+
name = "APK (arm)"
36+
version = "0.1.0"
37+
signing_key = "e0fb26d760323772b247b4d35d342fb0ef409b17227cdbcaa843d39a24fa431e"
38+
checksum = "sha256:4178138db2152ab624a26eeaecde1de6dd6f455963fe70ce5286a1997f086569"
39+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-arm.apk"
40+
rocketware_url = "https://download.rocketware.io/cache/v0.1.0/cache-0.1.0-android-arm.apk"
41+
enabled = true
42+
43+
[[platforms.downloads]]
44+
id = "apk_x64"
45+
name = "APK (x64)"
46+
version = "0.1.0"
47+
signing_key = "e0fb26d760323772b247b4d35d342fb0ef409b17227cdbcaa843d39a24fa431e"
48+
checksum = "sha256:e30b20274cb865c69fc42df7f01fe0b5ea7a008bcd64cb00f2b546cb35bab571"
49+
github_url = "https://github.com/rocketware/cache/releases/download/v0.1.0/cache-0.1.0-android-x64.apk"
50+
rocketware_url = "https://download.rocketware.io/cache/v0.1.0/cache-0.1.0-android-x64.apk"
51+
enabled = true
2752

2853
[[platforms]]
2954
id = "apple"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version = "0.1.0"
2+
date = "2026-03-19"
3+
4+
[[artifacts]]
5+
platform = "android"
6+
format = "apk"
7+
filename = "cache-0.1.0-android-arm64.apk"
8+
sha256 = "906131fd6511781025fbf230cdec39f79be6811bf2a48ea0e4ed854bc73cd319"
9+
10+
[[artifacts]]
11+
platform = "android"
12+
format = "apk"
13+
filename = "cache-0.1.0-android-arm.apk"
14+
sha256 = "4178138db2152ab624a26eeaecde1de6dd6f455963fe70ce5286a1997f086569"
15+
16+
[[artifacts]]
17+
platform = "android"
18+
format = "apk"
19+
filename = "cache-0.1.0-android-x64.apk"
20+
sha256 = "e30b20274cb865c69fc42df7f01fe0b5ea7a008bcd64cb00f2b546cb35bab571"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
untrusted comment: signature from minisign secret key
2+
RUSuyCCt9+/8XPSAaQXzWoShUs0g2xoYJVZEkf2bFTeO8ghcwXCEiQE2T/lSUEkN/iDd+2yaqYXB9c8bstD97WbnHZXh9dOfZQ8=
3+
trusted comment: Cache v0.1.0 release manifest
4+
j4kkR3KRuPCA2bn5LONNq3j/LWGyLXasMfKta+aVHjUXMPxhbkbkpJ3HVrmuzdZYQd1W24FXWG24812lAStGAA==

templates/download.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2 class="download-group-title">
2020
<tr>
2121
<th>Source</th>
2222
<th>Version</th>
23-
<th>Checksum</th>
23+
<th>{% if platform.id == "android" %}Signing Key{% else %}Checksum{% endif %}</th>
2424
<th></th>
2525
</tr>
2626
</thead>
@@ -32,7 +32,9 @@ <h2 class="download-group-title">
3232
<td>{{ dl.name }}</td>
3333
<td>{{ dl.version | default(value="-") }}</td>
3434
<td>
35-
{% if dl.checksum is defined and dl.checksum %}
35+
{% if dl.signing_key is defined and dl.signing_key %}
36+
<span title="{{ dl.signing_key }}">{{ dl.signing_key | truncate(length=16) }}</span>
37+
{% elif dl.checksum is defined and dl.checksum %}
3638
<span title="{{ dl.checksum }}">{{ dl.checksum | truncate(length=16) }}</span>
3739
{% else %}-{% endif %}
3840
</td>

templates/release.html

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,53 @@
44
{% block description %}{{ page.description | default(value="Cache release") }}{% endblock %}
55

66
{% block content %}
7+
{% set tag = "v" ~ page.title | split(pat="v") | last %}
78
<section class="release-section">
89
<div class="release-container">
9-
<article class="docs-content">
10-
{{ page.content | safe }}
11-
</article>
10+
<p style="font-size: 0.875rem; color: var(--text-tertiary); margin: 0 0 0.5rem 0;">
11+
<a href="/releases/">Releases</a> / {{ page.title }}
12+
</p>
13+
<h1>{{ page.title }}</h1>
14+
<p><time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time></p>
15+
16+
<h2>Artifacts</h2>
17+
{% if page.extra.artifacts is defined %}
18+
<table class="download-table">
19+
<thead>
20+
<tr>
21+
<th>Platform</th>
22+
<th>Format</th>
23+
<th>Filename</th>
24+
<th>Checksum</th>
25+
<th></th>
26+
</tr>
27+
</thead>
28+
<tbody>
29+
{% for art in page.extra.artifacts %}
30+
<tr>
31+
<td>{{ art.platform }}</td>
32+
<td>{{ art.format }}</td>
33+
<td>{{ art.filename }}</td>
34+
<td><span title="{{ art.sha256 }}">{{ art.sha256 | truncate(length=16) }}</span></td>
35+
<td><a href="{{ art.github_url }}" class="download-btn">Download</a></td>
36+
</tr>
37+
{% endfor %}
38+
</tbody>
39+
</table>
40+
{% endif %}
41+
42+
<h2>Verification</h2>
43+
<p>
44+
Download the <a href="/releases/{{ tag }}.manifest.toml">signed manifest</a>
45+
and <a href="/releases/{{ tag }}.manifest.toml.minisig">signature</a>, then verify:
46+
</p>
47+
<pre><code>minisign -Vm {{ tag }}.manifest.toml -p minisign.pub</code></pre>
48+
49+
<p>
50+
<a href="{{ page.extra.github_release }}">GitHub release</a>
51+
&middot; <a href="/docs/build-verification/">Verification guide</a>
52+
&middot; <a href="/download/">Download page</a>
53+
</p>
1254
</div>
1355
</section>
1456
{% endblock %}

templates/releases.html

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,37 @@ <h1>Cache Releases</h1>
1111
<a href="/releases/atom.xml">Atom feed</a>
1212
</p>
1313

14-
{% for page in section.pages %}
15-
<div class="release-entry">
16-
<h2><a href="{{ page.permalink }}">{{ page.title }}</a></h2>
17-
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
18-
<p>
19-
<a href="/releases/v{{ page.title | split(pat='v') | last }}.manifest.toml">Signed manifest</a>
20-
&middot;
21-
<a href="/releases/v{{ page.title | split(pat='v') | last }}.manifest.toml.minisig">Signature</a>
22-
</p>
23-
</div>
24-
{% endfor %}
25-
26-
{% if section.pages | length == 0 %}
14+
{% if section.pages | length > 0 %}
15+
<table class="download-table">
16+
<thead>
17+
<tr>
18+
<th>Version</th>
19+
<th>Date</th>
20+
<th>Artifacts</th>
21+
<th>Manifest</th>
22+
<th></th>
23+
</tr>
24+
</thead>
25+
<tbody>
26+
{% for page in section.pages %}
27+
{% set version = page.title | split(pat="v") | last %}
28+
<tr>
29+
<td><a href="{{ page.permalink }}">{{ page.title }}</a></td>
30+
<td>{{ page.date | date(format="%B %d, %Y") }}</td>
31+
<td>{{ page.extra.artifact_count | default(value="-") }}</td>
32+
<td>
33+
<a href="/releases/v{{ version }}.manifest.toml">manifest</a>
34+
&middot;
35+
<a href="/releases/v{{ version }}.manifest.toml.minisig">sig</a>
36+
</td>
37+
<td>
38+
<a href="https://github.com/rocketware/cache/releases/tag/v{{ version }}" class="download-btn">GitHub</a>
39+
</td>
40+
</tr>
41+
{% endfor %}
42+
</tbody>
43+
</table>
44+
{% else %}
2745
<p>No releases yet.</p>
2846
{% endif %}
2947
</div>

0 commit comments

Comments
 (0)