@omnidist/omnidist-linux-x64 0.1.23 → 0.1.24
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/README.md +16 -0
- package/bin/omnidist +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,8 @@ This creates:
|
|
|
81
81
|
- `.omnidist/` workspace directories
|
|
82
82
|
|
|
83
83
|
`omnidist init` writes profiles-mode config with a `default` profile.
|
|
84
|
+
It also derives default `distributions.npm.package` / `distributions.uv.package`
|
|
85
|
+
from the current directory name (slugified).
|
|
84
86
|
|
|
85
87
|
3. Edit config and set environment variables (optional):
|
|
86
88
|
|
|
@@ -202,6 +204,8 @@ version:
|
|
|
202
204
|
file: VERSION # optional; used when source is file (default VERSION)
|
|
203
205
|
fixed: 1.2.3 # required when source is fixed
|
|
204
206
|
|
|
207
|
+
readme-path: docs/README.md # optional shared README source for staging
|
|
208
|
+
|
|
205
209
|
targets:
|
|
206
210
|
- os: darwin
|
|
207
211
|
arch: amd64
|
|
@@ -225,12 +229,14 @@ distributions:
|
|
|
225
229
|
registry: https://registry.npmjs.org
|
|
226
230
|
access: public # public | restricted
|
|
227
231
|
license: MIT # optional override for package.json license; omit to use SEE LICENSE IN <file>
|
|
232
|
+
readme-path: docs/npm-readme.md # optional npm-specific README source
|
|
228
233
|
include-readme: true # include project README.md in staged packages when present
|
|
229
234
|
|
|
230
235
|
uv:
|
|
231
236
|
package: omnidist
|
|
232
237
|
index-url: https://upload.pypi.org/legacy/
|
|
233
238
|
linux-tag: manylinux2014 # manylinux2014 | musllinux_1_2
|
|
239
|
+
readme-path: docs/uv-readme.md # optional uv-specific README source
|
|
234
240
|
include-readme: true # include project README.md in staged wheels when present
|
|
235
241
|
```
|
|
236
242
|
|
|
@@ -244,6 +250,7 @@ profiles:
|
|
|
244
250
|
main: ./cmd/omnidist
|
|
245
251
|
version:
|
|
246
252
|
source: env
|
|
253
|
+
readme-path: docs/README.md
|
|
247
254
|
targets:
|
|
248
255
|
- os: linux
|
|
249
256
|
arch: amd64
|
|
@@ -254,8 +261,10 @@ profiles:
|
|
|
254
261
|
distributions:
|
|
255
262
|
npm:
|
|
256
263
|
package: "@scope/mytool"
|
|
264
|
+
readme-path: docs/npm-readme.md
|
|
257
265
|
uv:
|
|
258
266
|
package: mytool
|
|
267
|
+
readme-path: docs/uv-readme.md
|
|
259
268
|
|
|
260
269
|
release:
|
|
261
270
|
tool:
|
|
@@ -279,6 +288,10 @@ Mixing top-level runtime fields and `profiles` in the same file is not supported
|
|
|
279
288
|
|
|
280
289
|
`targets` use Go values (`GOOS`/`GOARCH`). Distribution workflows map them as needed (for example `windows/amd64` -> npm `win32/x64`).
|
|
281
290
|
|
|
291
|
+
README source precedence during staging:
|
|
292
|
+
`distributions.<name>.readme-path` -> `readme-path` -> `README.md`.
|
|
293
|
+
If a configured readme-path is set and cannot be read, staging fails.
|
|
294
|
+
|
|
282
295
|
For appkit version injection, configure `build.ldflags` in your project config:
|
|
283
296
|
|
|
284
297
|
```yaml
|
|
@@ -286,6 +299,9 @@ build:
|
|
|
286
299
|
ldflags: -s -w -X github.com/metalagman/appkit/version.version=${OMNIDIST_VERSION} -X github.com/metalagman/appkit/version.gitCommit=${OMNIDIST_GIT_COMMIT} -X github.com/metalagman/appkit/version.buildDate=${OMNIDIST_BUILD_DATE}
|
|
287
300
|
```
|
|
288
301
|
|
|
302
|
+
`build.ldflags` values are expanded with `os.ExpandEnv` during `omnidist build`.
|
|
303
|
+
Both `${VAR}` and `$VAR` are supported; unset vars expand to empty strings.
|
|
304
|
+
|
|
289
305
|
With `version.source: git-tag`, release workflows require `HEAD` to be on an exact SemVer tag (`vX.Y.Z` or `X.Y.Z`).
|
|
290
306
|
|
|
291
307
|
With `version.source: file`, omnidist reads `./VERSION` from the repository root.
|
package/bin/omnidist
CHANGED
|
Binary file
|
package/package.json
CHANGED