diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 148aaa8..113d16e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,9 @@ jobs: - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20.3' - name: Describe plugin id: plugin_describe run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')" @@ -37,8 +37,9 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: + distribution: goreleaser version: latest args: release --clean env: diff --git a/docs/README.md b/docs/README.md index bc5c946..7b259cc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,7 +11,7 @@ The Scaffolding plugin is intended as a starting point for creating Packer plugi - [ucloud-uhost](/docs/builders/uhost.mdx) - The `ucloud-uhost` builder provides the capability to build customized images based on an existing base image for use in UHost Instance. - + ### Post-processors - [ucloud-import](/docs/post-processors/import.mdx) - The UCloud Import post-processor takes the RAW, VHD, VMDK, or qcow2 @@ -35,7 +35,7 @@ Then, run [`packer init`](https://www.packer.io/docs/commands/init). packer { required_plugins { ucloud = { - version = ">= 1.0.0" + version = ">= 1.0.6" source = "github.com/hashicorp/ucloud" } } diff --git a/version/version.go b/version/version.go index 3bee951..9ee8fb3 100644 --- a/version/version.go +++ b/version/version.go @@ -4,7 +4,7 @@ import "github.com/hashicorp/packer-plugin-sdk/version" var ( // Version is the main version number that is being run at the moment. - Version = "1.0.5" + Version = "1.0.6" // VersionPrerelease is A pre-release marker for the Version. If this is "" // (empty string) then it means that it is a final release. Otherwise, this