chore(ci): remove goreleaser
23663486
14 file(s) · +2 −990
| 1 | - | name: Release |
|
| 2 | - | ||
| 3 | - | # Tag scheme: <app>/vX.Y.Z (e.g. sipp/v0.1.0) |
|
| 4 | - | # The app dir must contain its own .goreleaser.yml. |
|
| 5 | - | on: |
|
| 6 | - | push: |
|
| 7 | - | tags: |
|
| 8 | - | - "*/v*" |
|
| 9 | - | ||
| 10 | - | permissions: |
|
| 11 | - | contents: write |
|
| 12 | - | ||
| 13 | - | jobs: |
|
| 14 | - | goreleaser: |
|
| 15 | - | name: Release ${{ github.ref_name }} |
|
| 16 | - | runs-on: ubuntu-latest |
|
| 17 | - | steps: |
|
| 18 | - | - name: Parse app name from tag |
|
| 19 | - | id: parse |
|
| 20 | - | run: | |
|
| 21 | - | tag="${GITHUB_REF_NAME}" |
|
| 22 | - | app="${tag%%/*}" |
|
| 23 | - | version="${tag#*/}" |
|
| 24 | - | echo "app=$app" >> "$GITHUB_OUTPUT" |
|
| 25 | - | echo "version=$version" >> "$GITHUB_OUTPUT" |
|
| 26 | - | echo "Releasing $app $version" |
|
| 27 | - | ||
| 28 | - | - uses: actions/checkout@v6 |
|
| 29 | - | with: |
|
| 30 | - | fetch-depth: 0 |
|
| 31 | - | ||
| 32 | - | - name: Find previous tag for this app |
|
| 33 | - | id: prev |
|
| 34 | - | run: | |
|
| 35 | - | app="${{ steps.parse.outputs.app }}" |
|
| 36 | - | current="${GITHUB_REF_NAME}" |
|
| 37 | - | prev=$(git tag --list "${app}/v*" --sort=-v:refname | grep -v "^${current}$" | head -n1 || true) |
|
| 38 | - | if [ -n "$prev" ]; then |
|
| 39 | - | prev_ver="${prev#*/}" |
|
| 40 | - | echo "tag=$prev_ver" >> "$GITHUB_OUTPUT" |
|
| 41 | - | echo "Previous release: $prev_ver" |
|
| 42 | - | else |
|
| 43 | - | echo "tag=" >> "$GITHUB_OUTPUT" |
|
| 44 | - | echo "No previous release for $app" |
|
| 45 | - | fi |
|
| 46 | - | ||
| 47 | - | - name: Verify app has goreleaser config |
|
| 48 | - | run: | |
|
| 49 | - | cfg="apps/${{ steps.parse.outputs.app }}/.goreleaser.yml" |
|
| 50 | - | if [ ! -f "$cfg" ]; then |
|
| 51 | - | echo "::error::No $cfg — app not configured for releases." |
|
| 52 | - | exit 1 |
|
| 53 | - | fi |
|
| 54 | - | ||
| 55 | - | - uses: actions/setup-go@v6 |
|
| 56 | - | with: |
|
| 57 | - | go-version: '1.25.x' |
|
| 58 | - | cache-dependency-path: | |
|
| 59 | - | apps/*/go.sum |
|
| 60 | - | pkg/*/go.sum |
|
| 61 | - | ||
| 62 | - | - name: Resolve replace directives |
|
| 63 | - | # GoReleaser archives need self-contained sources; replace dirs |
|
| 64 | - | # are fine for `go build` but tags must point at real versions |
|
| 65 | - | # or we keep local replaces working by running in-tree (which we do). |
|
| 66 | - | working-directory: apps/${{ steps.parse.outputs.app }} |
|
| 67 | - | run: go mod tidy |
|
| 68 | - | ||
| 69 | - | - uses: goreleaser/goreleaser-action@v6 |
|
| 70 | - | with: |
|
| 71 | - | distribution: goreleaser |
|
| 72 | - | version: "~> v2" |
|
| 73 | - | # Builds binaries + archives + pushes brew formula. GH release |
|
| 74 | - | # itself is disabled via `release.disable` in app config; we |
|
| 75 | - | # create it below so it lands on the real prefixed tag. |
|
| 76 | - | args: release --clean --skip=announce,validate |
|
| 77 | - | workdir: apps/${{ steps.parse.outputs.app }} |
|
| 78 | - | env: |
|
| 79 | - | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
| 80 | - | HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} |
|
| 81 | - | # Strip "app/" prefix so goreleaser parses as semver. |
|
| 82 | - | GORELEASER_CURRENT_TAG: ${{ steps.parse.outputs.version }} |
|
| 83 | - | GORELEASER_PREVIOUS_TAG: ${{ steps.prev.outputs.tag }} |
|
| 84 | - | ||
| 85 | - | - name: Create GitHub release and upload artifacts |
|
| 86 | - | working-directory: apps/${{ steps.parse.outputs.app }} |
|
| 87 | - | env: |
|
| 88 | - | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
| 89 | - | run: | |
|
| 90 | - | app="${{ steps.parse.outputs.app }}" |
|
| 91 | - | version="${{ steps.parse.outputs.version }}" |
|
| 92 | - | tag="${GITHUB_REF_NAME}" |
|
| 93 | - | assets=$(find dist -maxdepth 1 -type f \( -name '*.tar.gz' -o -name '*.zip' -o -name 'checksums.txt' \)) |
|
| 94 | - | gh release create "$tag" \ |
|
| 95 | - | --title "$app $version" \ |
|
| 96 | - | --generate-notes \ |
|
| 97 | - | $assets |
| 1 | - | # GoReleaser config for blobs. |
|
| 2 | - | # Triggered by tags shaped like `blobs/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: blobs |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: blobs |
|
| 13 | - | main: . |
|
| 14 | - | binary: blobs |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: blobs |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | disable: true |
|
| 61 | - | ||
| 62 | - | brews: |
|
| 63 | - | - name: blobs |
|
| 64 | - | repository: |
|
| 65 | - | owner: stevedylandev |
|
| 66 | - | name: homebrew-tap |
|
| 67 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 68 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/blobs/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 69 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 70 | - | description: "Self-hosted browser for S3-compatible blob storage (R2, AWS, Minio, B2)" |
|
| 71 | - | license: "MIT" |
|
| 72 | - | commit_author: |
|
| 73 | - | name: goreleaserbot |
|
| 74 | - | email: bot@goreleaser.com |
|
| 75 | - | commit_msg_template: "brew: blobs {{ .Tag }}" |
|
| 76 | - | directory: Formula |
|
| 77 | - | install: | |
|
| 78 | - | bin.install "blobs" |
| 1 | - | # GoReleaser config for bookmarks. |
|
| 2 | - | # Triggered by tags shaped like `bookmarks/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: bookmarks |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: bookmarks |
|
| 13 | - | main: . |
|
| 14 | - | binary: bookmarks |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: bookmarks |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `bookmarks/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: bookmarks |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/bookmarks/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted link saver with categories and JSON API" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: bookmarks {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "bookmarks" |
| 1 | - | # GoReleaser config for cellar. |
|
| 2 | - | # Triggered by tags shaped like `cellar/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: cellar |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: cellar |
|
| 13 | - | main: . |
|
| 14 | - | binary: cellar |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: cellar |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `cellar/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: cellar |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/cellar/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted wine tracker" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: cellar {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "cellar" |
| 1 | - | # GoReleaser config for easel. |
|
| 2 | - | # Triggered by tags shaped like `easel/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: easel |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: easel |
|
| 13 | - | main: . |
|
| 14 | - | binary: easel |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: easel |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `easel/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: easel |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/easel/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Daily public-domain painting viewer" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: easel {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "easel" |
| 1 | - | # GoReleaser config for feeds. |
|
| 2 | - | # Triggered by tags shaped like `feeds/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: feeds |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: feeds |
|
| 13 | - | main: . |
|
| 14 | - | binary: feeds |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: feeds |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `feeds/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: feeds |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/feeds/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted RSS reader with background polling" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: feeds {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "feeds" |
| 1 | - | # GoReleaser config for jotts. |
|
| 2 | - | # Triggered by tags shaped like `jotts/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: jotts |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: jotts |
|
| 13 | - | main: . |
|
| 14 | - | binary: jotts |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: jotts |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `jotts/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: jotts |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/jotts/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted markdown notes app" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: jotts {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "jotts" |
| 1 | - | # GoReleaser config for library. |
|
| 2 | - | # Triggered by tags shaped like `library/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: library |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: library |
|
| 13 | - | main: . |
|
| 14 | - | binary: library |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: library |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `library/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: library |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/library/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted book tracker with Google Books search" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: library {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "library" |
| 1 | - | # GoReleaser config for og. |
|
| 2 | - | # Triggered by tags shaped like `og/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: og |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: og |
|
| 13 | - | main: . |
|
| 14 | - | binary: og |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: og |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `og/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: og |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/og/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Open Graph inspector" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: og {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "og" |
| 1 | - | # GoReleaser config for posts. |
|
| 2 | - | # Triggered by tags shaped like `posts/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: posts |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: posts |
|
| 13 | - | main: . |
|
| 14 | - | binary: posts |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: posts |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `posts/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: posts |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/posts/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Self-hosted blog CMS with local or R2 storage" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: posts {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "posts" |
| 1 | - | # GoReleaser config for shrink. |
|
| 2 | - | # Triggered by tags shaped like `shrink/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: shrink |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: shrink |
|
| 13 | - | main: . |
|
| 14 | - | binary: shrink |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: shrink |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `shrink/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: shrink |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/shrink/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 72 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 73 | - | description: "Image compression tool, EXIF preserved, GPS stripped" |
|
| 74 | - | license: "MIT" |
|
| 75 | - | commit_author: |
|
| 76 | - | name: goreleaserbot |
|
| 77 | - | email: bot@goreleaser.com |
|
| 78 | - | commit_msg_template: "brew: shrink {{ .Tag }}" |
|
| 79 | - | directory: Formula |
|
| 80 | - | install: | |
|
| 81 | - | bin.install "shrink" |
| 1 | - | # GoReleaser config for sipp. |
|
| 2 | - | # Triggered by tags shaped like `sipp/vX.Y.Z`. |
|
| 3 | - | version: 2 |
|
| 4 | - | ||
| 5 | - | project_name: sipp |
|
| 6 | - | ||
| 7 | - | before: |
|
| 8 | - | hooks: |
|
| 9 | - | - go mod tidy |
|
| 10 | - | ||
| 11 | - | builds: |
|
| 12 | - | - id: sipp |
|
| 13 | - | main: . |
|
| 14 | - | binary: sipp |
|
| 15 | - | env: |
|
| 16 | - | - CGO_ENABLED=0 |
|
| 17 | - | goos: |
|
| 18 | - | - linux |
|
| 19 | - | - darwin |
|
| 20 | - | - windows |
|
| 21 | - | goarch: |
|
| 22 | - | - amd64 |
|
| 23 | - | - arm64 |
|
| 24 | - | ignore: |
|
| 25 | - | - goos: windows |
|
| 26 | - | goarch: arm64 |
|
| 27 | - | ldflags: |
|
| 28 | - | - -s -w |
|
| 29 | - | - -X main.version={{.Version}} |
|
| 30 | - | - -X main.commit={{.Commit}} |
|
| 31 | - | - -X main.date={{.Date}} |
|
| 32 | - | ||
| 33 | - | archives: |
|
| 34 | - | - id: sipp |
|
| 35 | - | name_template: >- |
|
| 36 | - | {{ .ProjectName }}_{{ .Version }}_ |
|
| 37 | - | {{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_ |
|
| 38 | - | {{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }} |
|
| 39 | - | formats: [tar.gz] |
|
| 40 | - | format_overrides: |
|
| 41 | - | - goos: windows |
|
| 42 | - | formats: [zip] |
|
| 43 | - | files: |
|
| 44 | - | - README.md |
|
| 45 | - | ||
| 46 | - | checksum: |
|
| 47 | - | name_template: "checksums.txt" |
|
| 48 | - | ||
| 49 | - | snapshot: |
|
| 50 | - | version_template: "0.0.0-snapshot-{{.ShortCommit}}" |
|
| 51 | - | ||
| 52 | - | changelog: |
|
| 53 | - | # Disabled: the workflow's `gh release create --generate-notes` produces the |
|
| 54 | - | # real notes on the prefixed `<app>/vX.Y.Z` tag. GoReleaser's GitHub compare |
|
| 55 | - | # API uses the stripped version (e.g. v0.4.0), which 404s since the real tag |
|
| 56 | - | # is prefixed (e.g. posts/v0.4.0). |
|
| 57 | - | disable: true |
|
| 58 | - | ||
| 59 | - | release: |
|
| 60 | - | # Disabled: workflow uploads artifacts to the real `sipp/vX.Y.Z` git tag |
|
| 61 | - | # using `gh release create`. GoReleaser OSS can't natively map a stripped |
|
| 62 | - | # version back to a prefixed tag without the Pro `monorepo` feature. |
|
| 63 | - | disable: true |
|
| 64 | - | ||
| 65 | - | brews: |
|
| 66 | - | - name: sipp |
|
| 67 | - | repository: |
|
| 68 | - | owner: stevedylandev |
|
| 69 | - | name: homebrew-tap |
|
| 70 | - | token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" |
|
| 71 | - | # Override URL — real release tag is `sipp/vX.Y.Z`, not `vX.Y.Z`. |
|
| 72 | - | url_template: "https://github.com/stevedylandev/andromeda/releases/download/sipp/v{{ .Version }}/{{ .ArtifactName }}" |
|
| 73 | - | homepage: "https://github.com/stevedylandev/andromeda" |
|
| 74 | - | description: "Code sharing CLI, server, and TUI" |
|
| 75 | - | license: "MIT" |
|
| 76 | - | commit_author: |
|
| 77 | - | name: goreleaserbot |
|
| 78 | - | email: bot@goreleaser.com |
|
| 79 | - | commit_msg_template: "brew: sipp {{ .Tag }}" |
|
| 80 | - | directory: Formula |
|
| 81 | - | install: | |
|
| 82 | - | bin.install "sipp" |
|
| 83 | - | test: | |
|
| 84 | - | system "#{bin}/sipp", "--help" |
| 37 | 37 | } |
|
| 38 | 38 | $arch = $archMap[$procArch] |
|
| 39 | 39 | if ($arch -eq "arm64") { |
|
| 40 | - | throw "No windows/arm64 build published (goreleaser config ignores it)." |
|
| 40 | + | throw "No windows/arm64 build published." |
|
| 41 | 41 | } |
|
| 42 | 42 | ||
| 43 | 43 | # Resolve version |
| 53 | 53 | fi |
|
| 54 | 54 | fi |
|
| 55 | 55 | ||
| 56 | - | # Strip leading v for archive filename (goreleaser strips it from {{.Version}}) |
|
| 56 | + | # Strip leading v for archive filename |
|
| 57 | 57 | ver_num="${VERSION#v}" |
|
| 58 | 58 | tag="${APP}/${VERSION}" |
|
| 59 | 59 | archive="${APP}_${ver_num}_${os}_${arch}.tar.gz" |