diff --git a/.goreleaser.yml b/.goreleaser.yml index 956f51c..52fcc21 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,9 +9,9 @@ builds: - CGO_ENABLED=0 mod_timestamp: '{{ .CommitTimestamp }}' flags: - - -trimpath #removes all file system paths from the compiled executable + - -trimpath # removes all file system paths from the compiled executable ldflags: - - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}}' + - '-s -w' goos: - windows - linux @@ -53,5 +53,3 @@ release: # To include a separate docs.zip uncomment the extra_files config and the docs.zip command hook above. #extra_files: #- glob: ./docs.zip -changelog: - skip: true diff --git a/main.go b/main.go index b245a6b..5c83838 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ import ( func main() { // initialize plugin version - pluginVersion := version.InitializePluginVersion("1.4.0", "") + pluginVersion := version.NewPluginVersion("1.4.1", "", "") // initialize packer plugin set for testinfra packerPluginSet := plugin.NewSet()