@7n/rules 1.7.1 → 1.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.2] - 2026-07-16
4
+
5
+ ### Changed
6
+
7
+ - tauri release: рекомендувати завжди --target aarch64-apple-darwin замість universal-apple-darwin (lipo-merge не зливає другорядні [[bin]]-таргети)
8
+
3
9
  ## [1.7.1] - 2026-07-16
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7n/rules",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "CLI еталонних правил і skills (префікс n-): синк у репозиторій, дельта-lint, конформність",
5
5
  "keywords": [
6
6
  "cli",
@@ -81,8 +81,10 @@ jobs:
81
81
  contents: write
82
82
  id-token: write # OIDC для Infisical
83
83
  steps:
84
- # ... checkout, rust-toolchain, потім (rust.mdc вимагає кеш, zizmor фейлить
84
+ # ... checkout, потім (rust.mdc вимагає кеш, zizmor фейлить
85
85
  # cache-poisoning у тег-тригереному release — прийнятий ризик приглушуємо inline):
86
+ - uses: dtolnay/rust-toolchain@stable
87
+ with: { targets: aarch64-apple-darwin }
86
88
  - uses: Swatinem/rust-cache@v2 # zizmor: ignore[cache-poisoning]
87
89
  - name: Sync app version from tag
88
90
  run: |
@@ -93,11 +95,12 @@ jobs:
93
95
  - uses: Infisical/secrets-action@v1
94
96
  with: { secret-path: '/updater' }
95
97
  - uses: tauri-apps/tauri-action@v0
96
- with: { projectPath: app }
98
+ with: { projectPath: app, args: '--target aarch64-apple-darwin' }
97
99
  ```
98
100
 
99
101
  - **«Sync app version from tag» має йти перед кроком `tauri-apps/tauri-action`** — тег `vX.Y.Z` є єдиним джерелом версії для build-артефактів; `tauri.conf.json#version` у робочому дереві не редагується вручну (він там лишається тим, що востаннє поставив `n-rules release`, і синхронізується цим кроком лише в CI, не в git).
100
102
  - Секрети підпису — з Infisical: Apple-сертифікати (`secret-path: /apple`) і `TAURI_SIGNING_PRIVATE_KEY` (`secret-path: /updater`) — обидва потрібні `tauri-apps/tauri-action`, щоб зібрати підписаний DMG з updater-артефактами.
103
+ - **macOS-таргет — завжди `aarch64-apple-darwin`, ніколи `universal-apple-darwin`.** Без умовного галуження за кількістю `[[bin]]` у крейті: lipo-merge крок `tauri-action` зливає між арками лише головний GUI-бінарник, а будь-який додатковий `[[bin]]`-таргет лишається поза `universal-apple-darwin`-директорією — бандлер падає на `Failed to copy binary from ".../universal-apple-darwin/release/<bin>": ... does not exist`. Синхронно звузити `with.targets` кроку `dtolnay/rust-toolchain@…` до `aarch64-apple-darwin` (без `x86_64-apple-darwin`).
101
104
 
102
105
  ### `tauri.conf.json` — updater-артефакти й endpoint
103
106