Skip to content

Commit d0bd9a3

Browse files
authored
Nits: v0.3.0-paseo release bump, s3-ui GitHub Pages fixes, CI tweak (#206)
* chore(release): v0.3.0-paseo - provider-node 0.2.0 -> 0.3.0 - storage-paseo-runtime crate 0.2.0 -> 0.3.0 - RuntimeVersion: spec_version 2_000 -> 3_000 Ships everything since v0.2.0-paseo (S3 UI #182-#188, S3 interface pallet/ client, provider UI manual challenge response #189, start-provider split from on-chain registration #195, licensing/SPDX headers #199-#202, security and repo hygiene #203, local-runtime move #204). No extrinsic encoding changes since v0.2.0, so transaction_version stays at 2. The spec_version bump triggers any on-chain migrations on upgrade. * fix(s3-ui): use GITHUB_PAGES base path so Pages assets resolve The deploy workflow sets GITHUB_PAGES=true, which the provider and drive-ui Vite configs read to set their subpath base. s3-ui instead read VITE_BASE_PATH (never set), so its base fell back to '/' and the built index.html referenced assets at the site root (/assets/...) instead of /web3-storage/s3/assets/.... Those 404'd, Firefox refused the HTML-as-module, and the page rendered blank. Align s3-ui with the other UIs: base '/web3-storage/s3/' under GITHUB_PAGES, '/' otherwise. * fix(s3-ui): add missing s3-icon.svg favicon index.html references /s3-icon.svg but the file did not exist, causing a 404 on every page load. Add a bucket-style icon matching the indigo accent (#4f46e5) used by the app and the sibling drive-ui icon. Vite serves it from public/ at the configured base path. * nit
1 parent 17fdd7b commit d0bd9a3

7 files changed

Lines changed: 16 additions & 9 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ jobs:
208208
save-if: false
209209

210210
- name: Install cargo-llvm-cov
211-
run: cargo install cargo-llvm-cov --locked
211+
uses: taiki-e/install-action@15449e3094499af05d8d964a1c884208e4b8b595 # v2.81.11
212+
with:
213+
tool: cargo-llvm-cov
212214

213215
- name: Measure PR coverage
214216
run: |

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

provider-node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "storage-provider-node"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true

runtimes/web3-storage-paseo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "storage-paseo-runtime"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true

runtimes/web3-storage-paseo/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
186186
impl_name: Cow::Borrowed("paseo-web3-storage-runtime"),
187187
authoring_version: 1,
188188
// Encodes the runtime semver: major * 1_000_000 + minor * 1_000 + patch.
189-
// 0.2.0 -> 2_000. Must stay > the deployed value so the upgrade is
190-
// accepted and migrations run (previous release was `1`).
191-
spec_version: 2_000,
189+
// 0.3.0 -> 3_000. Must stay > the deployed value so the upgrade is
190+
// accepted and migrations run (previous release was `2_000`).
191+
spec_version: 3_000,
192192
impl_version: 0,
193193
apis: RUNTIME_API_VERSIONS,
194194
transaction_version: 2,
Lines changed: 5 additions & 0 deletions
Loading

user-interfaces/s3-ui/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
55
import tailwindcss from "@tailwindcss/vite";
66
import { resolve } from "path";
77

8-
const ghBase = process.env.VITE_BASE_PATH || "/";
8+
const ghBase = process.env.GITHUB_PAGES ? "/web3-storage/s3/" : "/";
99

1010
export default defineConfig({
1111
plugins: [react(), tailwindcss()],

0 commit comments

Comments
 (0)