Skip to content

Commit e8267ff

Browse files
committed
adaptions for release process
1 parent cff1add commit e8267ff

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.goreleaser.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ builds:
1010
- darwin
1111
- linux
1212

13-
archive:
14-
replacements:
15-
darwin: Darwin
16-
linux: Linux
17-
386: i386
18-
amd64: x86_64
19-
files:
20-
- LICENSE.md
13+
archives:
14+
- id: archive
15+
replacements:
16+
darwin: Darwin
17+
linux: Linux
18+
386: i386
19+
amd64: x86_64
20+
files:
21+
- LICENSE.md
22+
- plugin.yaml
2123

2224
checksum:
2325
name_template: 'checksums.txt'

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ clean:
3838
#
3939
.PHONY: release
4040
release:
41+
eval "sed -i 's/version:.*/version: \"$version\"/g' plugin.yaml"
42+
git add "plugin.yaml"
43+
git commit -m "releases $(version)"
4144
git tag -a $(version) -m "release $(version)"
4245
git push origin
4346
git push origin $(version)

plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "doc"
2-
version: "0.1.0"
2+
version: "0.0.1"
33
usage: "generate doc for helm chart"
44
description: |-
55
This plugin allows generating doc containing possible configurations of helm charts.

0 commit comments

Comments
 (0)