mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
feat: migrate pmg to nx based release automation (#293)
* 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
This commit is contained in:
+22
-1
@@ -11,6 +11,16 @@ builds:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -X github.com/safedep/pmg/internal/version.Version={{.Version}}
|
||||
- -X github.com/safedep/pmg/internal/version.Commit={{.Commit}}
|
||||
|
||||
archives:
|
||||
- formats: [tar.gz]
|
||||
@@ -39,11 +49,22 @@ checksum:
|
||||
universal_binaries:
|
||||
- replace: true
|
||||
|
||||
brews:
|
||||
homebrew_casks:
|
||||
- name: pmg
|
||||
directory: Casks
|
||||
homepage: https://github.com/safedep/pmg
|
||||
description: "PMG protects developers from malicious packages"
|
||||
license: "Apache-2.0"
|
||||
binaries:
|
||||
- pmg
|
||||
url:
|
||||
verified: github.com/safedep/pmg
|
||||
hooks:
|
||||
post:
|
||||
install: |
|
||||
if OS.mac?
|
||||
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/pmg"]
|
||||
end
|
||||
repository:
|
||||
owner: safedep
|
||||
name: homebrew-tap
|
||||
|
||||
Reference in New Issue
Block a user