@rightkit/release 0.2.15 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/release",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "Portable Right Suite release CLI/SDK: signed installers, updater artifacts, patch/update routing, hardening, R2 publish, and RightApps registration.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -189,7 +189,12 @@ test("refuses versioned updater object keys for gated feature updates", () => {
189
189
 
190
190
  test("requires the durable release credential before the first patch upload", () => {
191
191
  const config = fixture({ materialize: true });
192
- const env = { ...process.env, RIGHT_RELEASE_TIER: "patch", RIGHTAPPS_ADMIN_TOKEN: "expired-admin-session" };
192
+ const env = {
193
+ ...process.env,
194
+ APPDATA: path.join(path.dirname(config), "empty-appdata"),
195
+ RIGHT_RELEASE_TIER: "patch",
196
+ RIGHTAPPS_ADMIN_TOKEN: "expired-admin-session",
197
+ };
193
198
  delete env.RIGHTAPPS_RELEASE_TOKEN;
194
199
  delete env.RIGHTAPPS_RELEASE_TOKEN_FILE;
195
200
  const result = spawnSync(process.execPath, [publisher, "--config", config, "--platform", "win"], {
@@ -19,10 +19,10 @@ const apps = [
19
19
  test("RightKit exposes one current version manifest", () => {
20
20
  assert.equal(existsSync(versionsPath), true, "rightkit-versions.json must be the single current-version source");
21
21
  assert.match(versions.packageManager, /^pnpm@\d+\.\d+\.\d+$/);
22
- assert.equal(versions.npm["@rightkit/release"], "0.2.15");
22
+ assert.equal(versions.npm["@rightkit/release"], "0.2.17");
23
23
  assert.equal(versions.npm["@rightkit/license"], "0.1.5");
24
24
  assert.equal(versions.npm["@rightkit/logs"], "0.1.3");
25
- assert.equal(versions.npm["@rightkit/updates"], "0.2.1");
25
+ assert.equal(versions.npm["@rightkit/updates"], "0.2.2");
26
26
  assert.equal(versions.cargo["rightkit-license"], "0.1.1");
27
27
  assert.equal(versions.cargo["rightkit-logs"], "0.1.0");
28
28
  for (const [crate, version] of Object.entries(versions.cargo)) {
@@ -4,8 +4,8 @@
4
4
  "npm": {
5
5
  "@rightkit/license": "0.1.5",
6
6
  "@rightkit/logs": "0.1.3",
7
- "@rightkit/release": "0.2.15",
8
- "@rightkit/updates": "0.2.1"
7
+ "@rightkit/release": "0.2.17",
8
+ "@rightkit/updates": "0.2.2"
9
9
  },
10
10
  "cargo": {
11
11
  "rightkit-license": "0.1.1",