Skip to content

Commit aa52a45

Browse files
committed
goreleaser: run plugin-check before release
1 parent f484518 commit aa52a45

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.goreleaser.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ before:
1010
# As part of the release doc files are included as a separate deliverable for
1111
# consumption by Packer.io. To include a separate docs.zip uncomment the following command.
1212
- make ci-release-docs
13+
# Check plugin compatibility with required version of the Packer SDK
14+
- make plugin-check
1315
builds:
1416
# A separated build to run the packer-plugins-check only once for a linux_amd64 binary
1517
-
1618
id: plugin-check
1719
mod_timestamp: '{{ .CommitTimestamp }}'
18-
hooks:
19-
post:
20-
# This will check plugin compatibility against latest version of Packer
21-
- cmd: make plugin-check
22-
dir: "{{ dir .Path}}"
2320
flags:
2421
- -trimpath #removes all file system paths from the compiled executable
2522
ldflags:

0 commit comments

Comments
 (0)