File tree Expand file tree Collapse file tree 6 files changed +66
-18
lines changed
Expand file tree Collapse file tree 6 files changed +66
-18
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 go :
16- - " ~1.22.5 "
16+ - " ~1.24.1 "
1717 steps :
1818 - name : Setup
1919 uses : actions/setup-go@v5
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ builds:
1717 - darwin
1818
1919archives :
20- - formats : [ 'tar.gz' ]
20+ - formats : [ 'tar.gz', 'binary' ]
2121 # this name template makes the OS and Arch compatible with the results of `uname`.
2222 name_template : >-
2323 {{ .ProjectName }}_
@@ -27,6 +27,9 @@ archives:
2727 format_overrides :
2828 - goos : windows
2929 formats : [ 'zip' ]
30+ files :
31+ - LICENSE
32+ - README.md
3033
3134dockers :
3235 - image_templates :
Original file line number Diff line number Diff line change 1+ # 0.6.7
2+
3+ - Fix ` -version ` flag that broke in 0.6.6
4+ - Include raw binary files in github release again
5+ - Change github release artifact naming to be consistent with before 0.6.6
6+
7+ ### Warning
8+
9+ I will probably remove the raw binary artifacts at some point, possibly in 0.7.0
10+
11+ # 0.6.6
12+
13+ - Use goreleaser to do deploys.
14+
15+ ### Warning
16+
17+ This release had some significant changes in how the artifacts were packaged, and doesn't have any meaningful changes to the
18+ package itself. I recommend not using this release.
19+
20+ # 0.6.5
21+
22+ - Update hcl dependency. Should now correctly parse terraform provider functions
23+
24+ # 0.6.4
25+
26+ - Add windows arm64 binary to releases
27+
28+ # 0.6.3
29+
30+ - Properly escape ` $${ ` and ` %%{ `
31+
32+ # 0.6.2
33+
34+ - Update go-cty and hcl/v2 deps
35+ - Add arm64 docker image
36+
37+ # 0.6.1
38+
39+ - Increase dependency versions
40+
41+ # 0.6.0
42+
43+ - Add -version flag
44+ - Update hcl version
45+
146# 0.5.0
247
348- Make a few functions public in library
Original file line number Diff line number Diff line change 11module github.com/tmccombs/hcl2json
22
3- go 1.22 .0
3+ go 1.23 .0
44
5- toolchain go1.23.4
5+ toolchain go1.24.1
66
77require (
88 github.com/hashicorp/hcl/v2 v2.23.0
@@ -14,8 +14,8 @@ require (
1414 github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
1515 github.com/go-test/deep v1.0.7 // indirect
1616 github.com/mitchellh/go-wordwrap v1.0.1 // indirect
17- golang.org/x/mod v0.22 .0 // indirect
18- golang.org/x/sync v0.10 .0 // indirect
19- golang.org/x/text v0.21 .0 // indirect
20- golang.org/x/tools v0.28 .0 // indirect
17+ golang.org/x/mod v0.24 .0 // indirect
18+ golang.org/x/sync v0.12 .0 // indirect
19+ golang.org/x/text v0.23 .0 // indirect
20+ golang.org/x/tools v0.31 .0 // indirect
2121)
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70
1616github.com/zclconf/go-cty v1.16.2 /go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE =
1717github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo =
1818github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 /go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM =
19- golang.org/x/mod v0.22 .0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4 =
20- golang.org/x/mod v0.22 .0 /go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY =
21- golang.org/x/sync v0.10 .0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ =
22- golang.org/x/sync v0.10 .0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
23- golang.org/x/text v0.21 .0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo =
24- golang.org/x/text v0.21 .0 /go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ =
25- golang.org/x/tools v0.28 .0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8 =
26- golang.org/x/tools v0.28 .0 /go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw =
19+ golang.org/x/mod v0.24 .0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU =
20+ golang.org/x/mod v0.24 .0 /go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww =
21+ golang.org/x/sync v0.12 .0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw =
22+ golang.org/x/sync v0.12 .0 /go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA =
23+ golang.org/x/text v0.23 .0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY =
24+ golang.org/x/text v0.23 .0 /go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4 =
25+ golang.org/x/tools v0.31 .0 h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU =
26+ golang.org/x/tools v0.31 .0 /go.mod h1:naFTU+Cev749tSJRXJlna0T3WxKvb1kWEx15xA4SdmQ =
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212 "github.com/tmccombs/hcl2json/convert"
1313)
1414
15- var Version string = "devel"
15+ var version string = "devel"
1616
1717const versionUsage = "Print the version of hcl2json"
1818
@@ -28,7 +28,7 @@ func main() {
2828 flag .Parse ()
2929
3030 if printVersion {
31- fmt .Println (Version )
31+ fmt .Println (version )
3232 os .Exit (0 )
3333 }
3434
You can’t perform that action at this time.
0 commit comments