Skip to content

Commit

Permalink
go releaser deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
F1bonacc1 committed Jun 14, 2023
1 parent 4c69e78 commit fc271b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
15 changes: 8 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ builds:
- -X github.com/f1bonacc1/process-compose/src/config.Date={{.CommitDate}}
- -s -w
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: process-compose
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
Expand All @@ -66,7 +67,7 @@ changelog:
- '^test:'
release:
draft: true
replace_existing_draft: true
replace_existing_draft: false
disable: false
# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NAME=process-compose
RM=rm
VERSION = v0.51.0
#VERSION = $(shell git describe --abbrev=0)
#VERSION = v0.51.0
VERSION = $(shell git describe --abbrev=0)
GIT_REV ?= $(shell git rev-parse --short HEAD)
DATE ?= $(shell TZ=UTC0 git show --quiet --date='format-local:%Y-%m-%dT%H:%M:%SZ' --format="%cd")
NUMVER = $(shell echo ${VERSION} | cut -d"v" -f 2)
Expand Down Expand Up @@ -63,6 +63,6 @@ clean:
$(RM) bin/${NAME}*
release:
source exports
goreleaser release --rm-dist --skip-validate
goreleaser release --clean --skip-validate
snapshot:
goreleaser release --snapshot --rm-dist
goreleaser release --snapshot --clean

0 comments on commit fc271b7

Please sign in to comment.