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
74 lines
1.4 KiB
YAML
74 lines
1.4 KiB
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- 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]
|
|
name_template: >-
|
|
{{ .ProjectName }}_
|
|
{{- title .Os }}_
|
|
{{- if eq .Arch "amd64" }}x86_64
|
|
{{- else if eq .Arch "386" }}i386
|
|
{{- else }}{{ .Arch }}{{ end }}
|
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
|
format_overrides:
|
|
- goos: windows
|
|
formats: [zip]
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
algorithm: sha256
|
|
|
|
universal_binaries:
|
|
- replace: true
|
|
|
|
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
|
|
branch: main
|
|
|
|
|