diff --git a/cmd/packer-sdc/internal/test-data/mismatch-structs/test.sh b/cmd/packer-sdc/internal/test-data/mismatch-structs/test.sh new file mode 100644 index 000000000..2a05fa0b1 --- /dev/null +++ b/cmd/packer-sdc/internal/test-data/mismatch-structs/test.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# + +for x in {1..100}; +do + + packer-sdc -v + echo "Run ${x}" + go generate ./... + git diff --exit-code > /dev/null + if [[ $? -ne 0 ]] + then + echo "bad generate on ${x}" + git status + exit 1 + fi + echo "==========" +done diff --git a/mods.sh b/mods.sh new file mode 100644 index 000000000..e893a1dde --- /dev/null +++ b/mods.sh @@ -0,0 +1,41 @@ +go list -m -u github.com/hashicorp/packer-plugin-sdk +go list -m -u github.com/agext/levenshtein +go list -m -u github.com/aws/aws-sdk-go +go list -m -u github.com/dylanmei/winrmtest +go list -m -u github.com/fatih/camelcase +go list -m -u github.com/fatih/structtag +go list -m -u github.com/gofrs/flock +go list -m -u github.com/google/go-cmp +go list -m -u github.com/google/shlex +go list -m -u github.com/google/uuid +go list -m -u github.com/hashicorp/consul/api +go list -m -u github.com/hashicorp/go-getter/gcs/v2 +go list -m -u github.com/hashicorp/go-getter/s3/v2 +go list -m -u github.com/hashicorp/go-getter/v2 +go list -m -u github.com/hashicorp/go-multierror +go list -m -u github.com/hashicorp/go-version +go list -m -u github.com/hashicorp/hcl/v2 +go list -m -u github.com/hashicorp/vault/api +go list -m -u github.com/hashicorp/yamux +go list -m -u github.com/jehiah/go-strftime +go list -m -u github.com/masterzen/winrm +go list -m -u github.com/mitchellh/cli +go list -m -u github.com/mitchellh/go-fs +go list -m -u github.com/mitchellh/iochan +go list -m -u github.com/mitchellh/mapstructure +go list -m -u github.com/mitchellh/reflectwalk +go list -m -u github.com/packer-community/winrmcp +go list -m -u github.com/pkg/diff +go list -m -u github.com/pkg/errors +go list -m -u github.com/pkg/sftp +go list -m -u github.com/ryanuber/go-glob +go list -m -u github.com/stretchr/testify +go list -m -u github.com/ugorji/go/codec +go list -m -u github.com/zclconf/go-cty +go list -m -u golang.org/x/crypto +go list -m -u golang.org/x/mobile +go list -m -u golang.org/x/mod +go list -m -u golang.org/x/net +go list -m -u golang.org/x/sync +go list -m -u golang.org/x/term +go list -m -u golang.org/x/tools diff --git a/version/version.go b/version/version.go index 1670fd777..6bb60d8f8 100644 --- a/version/version.go +++ b/version/version.go @@ -21,7 +21,7 @@ var Version = "0.5.2" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release // such as "dev" (in development), "beta", "rc1", etc. -var VersionPrerelease = "dev" +var VersionPrerelease = "" // SDKVersion is used by the plugin set to allow Packer to recognize // what version of the sdk the plugin is.