mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* feat: Migrate release system to Nx with platform-specific npm packages * add go.work.sum * fix: CI deprecations, stale action pins, and signal propagation * fix: update e2e workflows to pnpm 11 and latest action SHAs * fix: update pmg-e2e.yml to Node 24 with Go and pnpm caching * fix: resolve E2E failures, remove goreleaser-test, update action SHAs * fix: restore goreleaser-test (required check) * fix: escape pnpm workspace detection for yarn/pnpx tests, update action versions
39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"name": "sync-binaries",
|
|
"root": "scripts/sync-binaries",
|
|
"targets": {
|
|
"run": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": [{"projects": "pmg", "target": "build-snapshot"}],
|
|
"options": {
|
|
"command": "go run ./scripts/sync-binaries/ --strict --verify-bins --artifacts-path dist/artifacts.json --packages-path ./packages",
|
|
"cwd": "{workspaceRoot}"
|
|
},
|
|
"inputs": ["goSyncSources", "{workspaceRoot}/dist/artifacts.json"],
|
|
"outputs": [
|
|
"{workspaceRoot}/packages/pmg-linux-x64/bin",
|
|
"{workspaceRoot}/packages/pmg-linux-arm64/bin",
|
|
"{workspaceRoot}/packages/pmg-darwin-x64/bin",
|
|
"{workspaceRoot}/packages/pmg-darwin-arm64/bin",
|
|
"{workspaceRoot}/packages/pmg-win32-x64/bin"
|
|
]
|
|
},
|
|
"run-release": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "go run ./scripts/sync-binaries/ --strict --verify-bins --artifacts-path dist/artifacts.json --packages-path ./packages --set-version $VERSION",
|
|
"cwd": "{workspaceRoot}"
|
|
},
|
|
"inputs": ["goSyncSources", "{workspaceRoot}/dist/artifacts.json"],
|
|
"outputs": [
|
|
"{workspaceRoot}/packages/pmg-linux-x64/bin",
|
|
"{workspaceRoot}/packages/pmg-linux-arm64/bin",
|
|
"{workspaceRoot}/packages/pmg-darwin-x64/bin",
|
|
"{workspaceRoot}/packages/pmg-darwin-arm64/bin",
|
|
"{workspaceRoot}/packages/pmg-win32-x64/bin"
|
|
],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|