From c062abe969429dbf32aef7ec9cc25b5f409dcd54 Mon Sep 17 00:00:00 2001 From: pablochacin Date: Thu, 4 Jul 2024 18:44:54 +0200 Subject: [PATCH] remove goreleaser (#4) Signed-off-by: Pablo Chacin --- .github/workflows/release.yml | 28 -------------------------- .goreleaser.yaml | 37 ----------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 .github/workflows/release.yml delete mode 100644 .goreleaser.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 88048aa..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: release -on: - push: - tags: - - "v*" -permissions: - contents: write - -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: "1.21" - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: "1.22.0" - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index fb00a56..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,37 +0,0 @@ -project_name: k6build - hooks: - - go mod tidy -dist: build/dist -builds: - - env: - - CGO_ENABLED=0 - goos: ["darwin", "linux", "windows"] - goarch: ["amd64", "arm64"] - ldflags: - - '-s -w -X main.version={{.Version}}' - dir: cmd/k6build -source: - enabled: true - name_template: "{{ .ProjectName }}_{{ .Version }}_source" - -archives: - - id: bundle - format: tar.gz - format_overrides: - - goos: windows - format: zip - -checksum: - name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" - -snapshot: - name_template: "{{ incpatch .Version }}-next+{{.ShortCommit}}{{if .IsGitDirty}}.dirty{{else}}{{end}}" - -changelog: - sort: asc - abbrev: -1 - filters: - exclude: - - "^chore:" - - "^docs:" - - "^test:"