mirror of
https://github.com/F1bonacc1/process-compose.git
synced 2024-08-16 23:10:26 +03:00
go releaser deprecations
This commit is contained in:
parent
4c69e78e37
commit
fc271b7cc4
@ -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
|
||||
@ -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
|
||||
|
8
Makefile
8
Makefile
@ -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)
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user