diff --git a/.github/workflows/include.yml b/.github/workflows/include.yml index 3aa5f2a..4e3ff31 100644 --- a/.github/workflows/include.yml +++ b/.github/workflows/include.yml @@ -19,7 +19,7 @@ jobs: call-releaser: uses: fortio/workflows/.github/workflows/releaser.yml@main with: - description: "Fortio multi curl" + description: "Fortio log JSON to (colorized) text converter" secrets: GH_PAT: ${{ secrets.GH_PAT }} DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} diff --git a/.gitignore b/.gitignore index 7d1191b..6526816 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .golangci.yml +.goreleaser.yaml # If you prefer the allow list template instead of the deny list, see community template: # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index ca61904..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,85 +0,0 @@ -builds: - - env: - - CGO_ENABLED=0 - goos: - - linux - - windows - - darwin - goarch: - - amd64 - - arm64 -checksum: - name_template: "checksums.txt" -snapshot: - name_template: "{{ incpatch .Version }}-next" -changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" -gomod: - proxy: true - mod: mod -dockers: - - image_templates: ["fortio/{{ .ProjectName }}:{{ .Version }}-amd64"] - use: buildx - goarch: amd64 - build_flag_templates: - - --platform=linux/amd64 - - image_templates: ["fortio/{{ .ProjectName }}:{{ .Version }}-arm64"] - use: buildx - goarch: arm64 - build_flag_templates: - - --platform=linux/arm64 -docker_manifests: -- - name_template: fortio/{{ .ProjectName }}:{{ .Version }} - image_templates: - - fortio/{{ .ProjectName }}:{{ .Version }}-amd64 - - fortio/{{ .ProjectName }}:{{ .Version }}-arm64 -- - name_template: fortio/{{ .ProjectName }}:latest - image_templates: - - fortio/{{ .ProjectName }}:{{ .Version }}-amd64 - - fortio/{{ .ProjectName }}:{{ .Version }}-arm64 -release: - prerelease: auto - mode: append -# .goreleaser.yaml -brews: - - - # GitHub/GitLab repository to push the formula to - tap: - owner: fortio - name: homebrew-tap - - # Git author used to commit to the repository. - # Defaults are shown. - commit_author: - name: goreleaserbot - email: bot@goreleaser.com - - # The project name and current git tag are used in the format string. - commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" - - # Folder inside the repository to put the formula. - # Default is the root folder. - folder: Formula - - # Your app's homepage. - # Default is empty. - homepage: "https://fortio.org/" - - # Template of your app's description. - # Default is empty. - description: "Fortio log JSON to (colorized) text converter" - - # SPDX identifier of your app's license. - # Default is empty. - license: "Apache-2.0" - - # So you can `brew test` your formula. - # Default is empty. - test: | - assert_match version.to_s, shell_output("#{bin}/{{ .ProjectName }} -version")