0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-02 03:22:59 +00:00

Update workflows

This commit is contained in:
Dan Petersen 2021-02-10 04:26:40 +01:00
parent 7bffe20ce5
commit 449ac6c984
2 changed files with 1 additions and 38 deletions

View File

@ -31,4 +31,4 @@ jobs:
- -
name: Create snapshot name: Create snapshot
run: | run: |
goreleaser build --config .goreleaser.test.yml --parallelism 2 --rm-dist --snapshot --timeout 1h goreleaser build --parallelism 2 --rm-dist --snapshot --timeout 1h

View File

@ -1,37 +0,0 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: none
release:
draft: false
changelog:
skip: true