Skip to content

Commit 77afa2a

Browse files
authored
Prepare release v0.21.1, and change dist to use a build-setup injected step to resolve node issue (#1185)
1 parent 7293010 commit 77afa2a

File tree

6 files changed

+35
-24
lines changed

6 files changed

+35
-24
lines changed

.github/build-setup.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Custom build setup steps for cargo-dist.
2+
# These steps are injected into the release workflow via the
3+
# github-build-setup option in dist-workspace.toml.
4+
# See: https://opensource.axo.dev/cargo-dist/book/ci/customizing.html
5+
6+
- name: Setup Node.js
7+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
8+
with:
9+
node-version-file: '.nvmrc'
10+
cache: 'npm'
11+
cache-dependency-path: ui/package-lock.json

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ jobs:
131131
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
132132
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
133133
fi
134+
- name: "Setup Node.js"
135+
uses: "actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238"
136+
with:
137+
"cache": "npm"
138+
"cache-dependency-path": "ui/package-lock.json"
139+
"node-version-file": ".nvmrc"
134140
- name: Install dist
135141
run: ${{ matrix.install_dist.run }}
136142
# Get the dist-manifest

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
# [0.21.0] - 2026-02-02
5+
# [0.21.1] - 2026-02-02
66

77
- New Experimental feature: `weaver serve` command to serve a REST API and web UI. ([#1076](https://github.com/open-telemetry/weaver/pull/1076) by @jerbly)
88
- Add support for diff schemas in `registry json-schema`([#1105](https://github.com/open-telemetry/weaver/pull/1105) by @lmolkova)

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eula = false
2626
members = ["crates/*"]
2727

2828
[workspace.package]
29-
version = "0.21.0"
29+
version = "0.21.1"
3030
authors = ["OpenTelemetry"]
3131
edition = "2021"
3232
repository = "https://github.com/open-telemetry/weaver"

dist-workspace.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@ install-path = "CARGO_HOME"
2020
# Whether to enable GitHub Attestations
2121
github-attestations = true
2222
github-custom-runners = { global = "ubuntu-latest", x86_64-unknown-linux-gnu = "ubuntu-24.04", x86_64-pc-windows-msvc = "windows-2025", aarch64-unknown-linux-musl = "ubuntu-24.04-arm", aarch64-unknown-linux-gnu = "ubuntu-24.04-arm" }
23+
github-build-setup = "../build-setup.yml"
2324

2425
[dist.dependencies.apt]
25-
nodejs = '24.*'
2626
musl-tools = '*'
2727
musl-dev = '*'
28-
29-
[dist.dependencies.homebrew]
30-
node = '24'
31-
32-
[dist.dependencies.chocolatey]
33-
nodejs = '24.*'

0 commit comments

Comments
 (0)