From d91149dc3ae348f04d7a56ec3f3335a3fbd27447 Mon Sep 17 00:00:00 2001 From: Maninderjit Bindra Date: Wed, 6 Mar 2024 12:40:34 +0530 Subject: [PATCH] remove redundant releaser file --- cmd/goreleaser.yaml | 105 -------------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 cmd/goreleaser.yaml diff --git a/cmd/goreleaser.yaml b/cmd/goreleaser.yaml deleted file mode 100644 index fe410df..0000000 --- a/cmd/goreleaser.yaml +++ /dev/null @@ -1,105 +0,0 @@ -project_name: az-mpf -env: - - GO111MODULE=on - # https://stackoverflow.com/a/62821358/19407 - - CGO_ENABLED=0 - -# main: ./cmd/main.go - -before: - hooks: - - go mod download -gomod: - # proxy: true -builds: -- id: linux - binary: az-mpf-linux-{{ .Arch }} - no_unique_dist_dir: true - flags: - # trimpath is for reproducible builds - # remove all file system paths from the resulting executable. - # Instead of absolute file system paths, the recorded file names - # will begin with either "go" (for the standard library), - # or a module path@version (when using modules), - # or a plain import path (when using GOPATH). - - -trimpath - - -tags=netgo - # Set the modified timestamp on the output binary, typically - # you would do this to ensure a build was reproducible. Pass - # empty string to skip modifying the output. - # Default is empty string. - mod_timestamp: '{{ .CommitTimestamp }}' - goos: - - linux - goarch: - - amd64 - - arm64 - ldflags: - - -s {{.Env.VERSION_LDFLAGS}} - -- id: darwin - binary: az-mpf-darwin-{{ .Arch }} - no_unique_dist_dir: true - flags: - # trimpath is for reproducible builds - # remove all file system paths from the resulting executable. - # Instead of absolute file system paths, the recorded file names - # will begin with either "go" (for the standard library), - # or a module path@version (when using modules), - # or a plain import path (when using GOPATH). - - -trimpath - - -tags=netgo - # Set the modified timestamp on the output binary, typically - # you would do this to ensure a build was reproducible. Pass - # empty string to skip modifying the output. - # Default is empty string. - mod_timestamp: '{{ .CommitTimestamp }}' - goos: - - darwin - goarch: - - amd64 - - arm64 - ldflags: - - -s {{.Env.VERSION_LDFLAGS}} - -- id: windows - binary: az-mpf-windows-{{ .Arch }} - no_unique_dist_dir: true - flags: - # trimpath is for reproducible builds - # remove all file system paths from the resulting executable. - # Instead of absolute file system paths, the recorded file names - # will begin with either "go" (for the standard library), - # or a module path@version (when using modules), - # or a plain import path (when using GOPATH). - - -trimpath - - -tags=netgo - # Set the modified timestamp on the output binary, typically - # you would do this to ensure a build was reproducible. Pass - # empty string to skip modifying the output. - # Default is empty string. - mod_timestamp: '{{ .CommitTimestamp }}' - goos: - - windows - goarch: - - amd64 - - arm64 - ldflags: - - -buildmode=exe - - -s {{.Env.VERSION_LDFLAGS}} - -checksum: - # Algorithm to be used. - # Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384. - # Default is sha256. - name_template: "{{ .ProjectName }}_checksums.txt" - -snapshot: - name_template: SNAPSHOT-{{ .ShortCommit }} -changelog: - # Set it to true if you wish to skip the changelog generation. - # This may result in an empty release notes on GitHub/GitLab/Gitea. - skip: false -release: - footer: | - ### Thanks for all contributors! \ No newline at end of file