Skip to content

Commit 0f751b1

Browse files
committed
upgrade dependencies
1 parent f75bd00 commit 0f751b1

File tree

9 files changed

+162
-149
lines changed

9 files changed

+162
-149
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fetch-depth: 0
1313
- uses: actions/setup-go@v5
1414
with:
15-
go-version: '1.23.1'
15+
go-version: '1.23.6'
1616
- name: Set up msys2
1717
uses: msys2/setup-msys2@v2
1818
with:

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ release:
3232
draft: true
3333
prerelease: auto
3434
archives:
35-
- format: zip
35+
- formats:
36+
- zip
3637
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
3738
checksum:
3839
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PLUGIN_PATH := dist/packer-plugin-windows-update_$(GOHOSTOS)_$(GOHOSTARCH)_$(GOH
99

1010
# see https://github.com/goreleaser/goreleaser
1111
# renovate: datasource=github-releases depName=goreleaser/goreleaser extractVersion=^v?(?<version>1\..+)
12-
GORELEASER_VERSION := 2.2.0
12+
GORELEASER_VERSION := 2.7.0
1313

1414
all: build
1515

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This is a Packer plugin for installing Windows updates (akin to [rgl/vagrant-windows-update](https://github.com/rgl/vagrant-windows-update)).
66

7-
**NB** This was only tested with Packer 1.11.2 and the images at [rgl/windows-vagrant](https://github.com/rgl/windows-vagrant), so YMMV.
7+
**NB** This was only tested with Packer 1.12.0 and the images at [rgl/windows-vagrant](https://github.com/rgl/windows-vagrant), so YMMV.
88

99
# Usage
1010

@@ -14,7 +14,7 @@ Configure your packer template to require a [release version of the plugin](http
1414
packer {
1515
required_plugins {
1616
windows-update = {
17-
version = "0.16.8"
17+
version = "0.16.9"
1818
source = "github.com/rgl/windows-update"
1919
}
2020
}

ci-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euxo pipefail
33

44
# ensure provisioner.hcl2spec.go is updated by re-generate it. if there are
55
# differences, abort the build.
6-
rm update/provisioner.hcl2spec.go
6+
rm -f update/provisioner.hcl2spec.go
77
make update/provisioner.hcl2spec.go
88
git diff --exit-code update/provisioner.hcl2spec.go \
99
|| (echo 'ERROR: You must re-generate update/provisioner.hcl2spec.go and commit the changes.' && exit 1)

go.mod

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,48 @@
11
module github.com/rgl/packer-plugin-windows-update
22

3-
go 1.23.1
3+
go 1.23.6
44

55
require (
6-
github.com/hashicorp/hcl/v2 v2.22.0
7-
github.com/hashicorp/packer-plugin-sdk v0.5.4
8-
github.com/zclconf/go-cty v1.15.0
6+
github.com/hashicorp/hcl/v2 v2.23.0
7+
github.com/hashicorp/packer-plugin-sdk v0.6.0
8+
github.com/zclconf/go-cty v1.16.2
99
)
1010

1111
require (
1212
github.com/agext/levenshtein v1.2.3 // indirect
1313
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
1414
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
1515
github.com/armon/go-metrics v0.4.1 // indirect
16-
github.com/aws/aws-sdk-go v1.55.5 // indirect
16+
github.com/aws/aws-sdk-go v1.55.6 // indirect
1717
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
18-
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
19-
github.com/fatih/color v1.17.0 // indirect
18+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
19+
github.com/fatih/color v1.18.0 // indirect
2020
github.com/go-jose/go-jose/v4 v4.0.4 // indirect
2121
github.com/google/uuid v1.6.0 // indirect
22-
github.com/hashicorp/consul/api v1.29.4 // indirect
22+
github.com/hashicorp/consul/api v1.31.1 // indirect
2323
github.com/hashicorp/errwrap v1.1.0 // indirect
2424
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
2525
github.com/hashicorp/go-getter/v2 v2.2.3 // indirect
2626
github.com/hashicorp/go-hclog v1.6.3 // indirect
2727
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
28+
github.com/hashicorp/go-metrics v0.5.4 // indirect
2829
github.com/hashicorp/go-multierror v1.1.1 // indirect
2930
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
3031
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
3132
github.com/hashicorp/go-safetemp v1.0.0 // indirect
32-
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
33+
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.9 // indirect
3334
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
34-
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
35+
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
3536
github.com/hashicorp/go-version v1.7.0 // indirect
3637
github.com/hashicorp/golang-lru v1.0.2 // indirect
3738
github.com/hashicorp/hcl v1.0.0 // indirect
38-
github.com/hashicorp/serf v0.10.1 // indirect
39-
github.com/hashicorp/vault/api v1.14.0 // indirect
40-
github.com/hashicorp/yamux v0.1.1 // indirect
39+
github.com/hashicorp/serf v0.10.2 // indirect
40+
github.com/hashicorp/vault/api v1.16.0 // indirect
41+
github.com/hashicorp/yamux v0.1.2 // indirect
4142
github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869 // indirect
4243
github.com/jmespath/go-jmespath v0.4.0 // indirect
43-
github.com/klauspost/compress v1.17.9 // indirect
44-
github.com/mattn/go-colorable v0.1.13 // indirect
44+
github.com/klauspost/compress v1.17.11 // indirect
45+
github.com/mattn/go-colorable v0.1.14 // indirect
4546
github.com/mattn/go-isatty v0.0.20 // indirect
4647
github.com/mitchellh/go-homedir v1.1.0 // indirect
4748
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
@@ -52,15 +53,18 @@ require (
5253
github.com/ryanuber/go-glob v1.0.0 // indirect
5354
github.com/ugorji/go/codec v1.2.12 // indirect
5455
github.com/ulikunitz/xz v0.5.12 // indirect
55-
golang.org/x/crypto v0.27.0 // indirect
56-
golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect
57-
golang.org/x/mod v0.21.0 // indirect
58-
golang.org/x/net v0.29.0 // indirect
59-
golang.org/x/sync v0.8.0 // indirect
60-
golang.org/x/sys v0.25.0 // indirect
61-
golang.org/x/text v0.18.0 // indirect
62-
golang.org/x/time v0.6.0 // indirect
63-
golang.org/x/tools v0.24.0 // indirect
56+
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
57+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
58+
golang.org/x/crypto v0.33.0 // indirect
59+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
60+
golang.org/x/mod v0.23.0 // indirect
61+
golang.org/x/net v0.35.0 // indirect
62+
golang.org/x/sync v0.11.0 // indirect
63+
golang.org/x/sys v0.30.0 // indirect
64+
golang.org/x/text v0.22.0 // indirect
65+
golang.org/x/time v0.10.0 // indirect
66+
golang.org/x/tools v0.30.0 // indirect
67+
google.golang.org/protobuf v1.36.5 // indirect
6468
)
6569

6670
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187

0 commit comments

Comments
 (0)