version: 2 project_name: agentpack before: hooks: - make ui-stage - go mod verify - go test ./... - ./scripts/render-installers.sh {{ .Version }} ./.release-assets/installers builds: - id: agentpack main: ./cmd/agentpack binary: agentpack env: - CGO_ENABLED=0 goos: - darwin - linux - windows goarch: - amd64 - arm64 ignore: - goos: windows goarch: arm64 flags: - -trimpath ldflags: - -s -w -X github.com/olegpustovit/agentpack/internal/cli.Version={{ .Version }} archives: - id: agentpack ids: - agentpack formats: - tar.gz format_overrides: - goos: windows formats: - zip name_template: >- {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }} files: - LICENSE - README.md checksum: name_template: checksums.txt algorithm: sha256 changelog: sort: asc filters: exclude: - '^docs:' - '^test:' - '^chore:' release: github: owner: olegpustovit name: agentpack header: | ## Install agentpack {{ .Version }} ### macOS and Linux ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/olegpustovit/agentpack/releases/download/{{ .Tag }}/agentpack-installer.sh | sh ``` ### Windows PowerShell ```powershell powershell -ExecutionPolicy ByPass -c "irm https://github.com/olegpustovit/agentpack/releases/download/{{ .Tag }}/agentpack-installer.ps1 | iex" ``` The installers detect the host architecture, verify the archive against `checksums.txt`, and write only to `$HOME/.local/bin`. They do not modify shell profiles or `PATH`. extra_files: - glob: ./.release-assets/installers/agentpack-installer.sh - glob: ./.release-assets/installers/agentpack-installer.ps1 homebrew_casks: - name: agentpack ids: - agentpack binaries: - agentpack repository: owner: olegpustovit name: homebrew-tap token: '{{ .Env.HOMEBREW_TAP_TOKEN }}' directory: Casks homepage: https://github.com/olegpustovit/agentpack description: Pin and stage agent skills and plugins reproducibly commit_author: name: agentpack release bot email: actions@github.com