Skip to content

Commit c0a0408

Browse files
committed
Preparing release v0.8.9
1 parent e80d323 commit c0a0408

File tree

5 files changed

+39
-20
lines changed

5 files changed

+39
-20
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Unreleased
3+
## [0.8.9](https://github.com/uhppoted/uhppoted-rest/releases/tag/v0.8.9) - 2024-09-06
44

55
### Added
66
1. TCP/IP support.

Makefile

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,37 @@ open-api:
5757
swagger-cli bundle documentation/openapi/uhppoted-api.yaml --outfile generated.yaml --type yaml
5858

5959
build-all: build test vet lint
60-
mkdir -p dist/$(DIST)/windows
61-
mkdir -p dist/$(DIST)/darwin
6260
mkdir -p dist/$(DIST)/linux
6361
mkdir -p dist/$(DIST)/arm
6462
mkdir -p dist/$(DIST)/arm7
65-
env GOOS=linux GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/linux ./...
66-
env GOOS=linux GOARCH=arm64 GOWORK=off go build -trimpath -o dist/$(DIST)/arm ./...
67-
env GOOS=linux GOARCH=arm GOARM=7 GOWORK=off go build -trimpath -o dist/$(DIST)/arm7 ./...
68-
env GOOS=darwin GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/darwin ./...
69-
env GOOS=windows GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/windows ./...
63+
mkdir -p dist/$(DIST)/darwin-x64
64+
mkdir -p dist/$(DIST)/darwin-arm64
65+
mkdir -p dist/$(DIST)/windows
66+
env GOOS=linux GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/linux ./...
67+
env GOOS=linux GOARCH=arm64 GOWORK=off go build -trimpath -o dist/$(DIST)/arm ./...
68+
env GOOS=linux GOARCH=arm GOARM=7 GOWORK=off go build -trimpath -o dist/$(DIST)/arm7 ./...
69+
env GOOS=darwin GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/darwin-x64 ./...
70+
env GOOS=darwin GOARCH=arm64 GOWORK=off go build -trimpath -o dist/$(DIST)/darwin-arm64 ./...
71+
env GOOS=windows GOARCH=amd64 GOWORK=off go build -trimpath -o dist/$(DIST)/windows ./...
7072

7173
release: update-release build-all
7274
find . -name ".DS_Store" -delete
73-
tar --directory=dist --exclude=".DS_Store" -cvzf dist/$(DIST).tar.gz $(DIST)
74-
cd dist; zip --recurse-paths $(DIST).zip $(DIST)
75+
tar --directory=dist/$(DIST)/linux --exclude=".DS_Store" -cvzf dist/$(DIST)-linux-x64.tar.gz .
76+
tar --directory=dist/$(DIST)/arm --exclude=".DS_Store" -cvzf dist/$(DIST)-arm-x64.tar.gz .
77+
tar --directory=dist/$(DIST)/arm7 --exclude=".DS_Store" -cvzf dist/$(DIST)-arm7.tar.gz .
78+
tar --directory=dist/$(DIST)/darwin-x64 --exclude=".DS_Store" -cvzf dist/$(DIST)-darwin-x64.tar.gz .
79+
tar --directory=dist/$(DIST)/darwin-arm64 --exclude=".DS_Store" -cvzf dist/$(DIST)-darwin-arm64.tar.gz .
80+
cd dist/$(DIST)/windows && zip --recurse-paths ../../$(DIST)-windows-x64.zip . -x ".DS_Store"
7581

7682
publish: release
7783
echo "Releasing version $(VERSION)"
78-
rm -f dist/development.tar.gz
79-
gh release create "$(VERSION)" "./dist/uhppoted-rest_$(VERSION).tar.gz" "./dist/uhppoted-rest_$(VERSION).zip" --draft --prerelease --title "$(VERSION)-beta" --notes-file release-notes.md
84+
gh release create "$(VERSION)" "./dist/$(DIST)-arm-x64.tar.gz" \
85+
"./dist/$(DIST)-arm7.tar.gz" \
86+
"./dist/$(DIST)-darwin-arm64.tar.gz" \
87+
"./dist/$(DIST)-darwin-x64.tar.gz" \
88+
"./dist/$(DIST)-linux-x64.tar.gz" \
89+
"./dist/$(DIST)-windows-x64.zip" \
90+
--draft --prerelease --title "$(VERSION)-beta" --notes-file release-notes.md
8091

8192
debug: build
8293
$(CMD) run --console

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ Supported operating systems:
3636

3737
### Current Release
3838

39-
**[v0.8.8](https://github.com/uhppoted/uhppoted-rest/releases/tag/v0.8.8) - 2024-03-27**
39+
**[v0.8.9](https://github.com/uhppoted/uhppoted-rest/releases/tag/v0.8.9) - 2024-09-06**
4040

41-
1. `restore-default-parameters` API function to reset a controller to the manufacturer default
42-
configuration.
43-
2. Added public Docker image to ghcr.io.
44-
3. Bumped Go version to 1.22.
41+
1. Added TCP/IP support.
42+
2. Updated to Go 1.23.
4543

4644

4745
## Installation

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/uhppoted/uhppoted-rest
33
go 1.23
44

55
require (
6-
github.com/uhppoted/uhppote-core v0.8.9-0.20240823182843-e0981da9c4a4
7-
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240823183521-d127a710cea0
8-
golang.org/x/sys v0.24.0
6+
github.com/uhppoted/uhppote-core v0.8.9
7+
github.com/uhppoted/uhppoted-lib v0.8.9
8+
golang.org/x/sys v0.25.0
99
)

go.sum

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ github.com/uhppoted/uhppote-core v0.8.9-0.20240617170953-4d35e4f646db h1:5ewkOnv
120120
github.com/uhppoted/uhppote-core v0.8.9-0.20240617170953-4d35e4f646db/go.mod h1:Q+DHtT8s74efLs2b0eF20DRBUL9yBkySwaTQ+0lsEVM=
121121
github.com/uhppoted/uhppote-core v0.8.9-0.20240823182843-e0981da9c4a4 h1:7zcs93hYt0sBp+kCIbgju4Tgc1zvaRVgReksSs4K1uM=
122122
github.com/uhppoted/uhppote-core v0.8.9-0.20240823182843-e0981da9c4a4/go.mod h1:oUQdz4NBMXkcwzEHUd6lYQgF6He32+jnb+FMwehZRwg=
123+
github.com/uhppoted/uhppote-core v0.8.9-0.20240905182113-96b4c7f5bb0e h1:4K/9n6bxViy4GC2fZVO3N5onun4/glU3gOYY6aczO/M=
124+
github.com/uhppoted/uhppote-core v0.8.9-0.20240905182113-96b4c7f5bb0e/go.mod h1:oUQdz4NBMXkcwzEHUd6lYQgF6He32+jnb+FMwehZRwg=
125+
github.com/uhppoted/uhppote-core v0.8.9 h1:1+PE/rSS5fWJfPZ97UXkRBWHmp/h80QLgQ+P3942WZU=
126+
github.com/uhppoted/uhppote-core v0.8.9/go.mod h1:oUQdz4NBMXkcwzEHUd6lYQgF6He32+jnb+FMwehZRwg=
123127
github.com/uhppoted/uhppoted-lib v0.7.3-0.20220128210643-c4d9a4bc1660 h1:BRLml03IH5I0wzAOaKrmQ3V/wbRdoBmRb/sBX+uX7Nw=
124128
github.com/uhppoted/uhppoted-lib v0.7.3-0.20220128210643-c4d9a4bc1660/go.mod h1:HQChamquwltZIqT+tmMfDLTjaqLXEsokPQf8Utxi9MA=
125129
github.com/uhppoted/uhppoted-lib v0.7.3-0.20220531204140-34d8876e5e89 h1:Cwp9o2KzliY85ERUkV9Z9RBFjVotzHLMAQ89EBblQcg=
@@ -272,6 +276,10 @@ github.com/uhppoted/uhppoted-lib v0.8.9-0.20240617172854-6a8488c7ac5d h1:g/swcrE
272276
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240617172854-6a8488c7ac5d/go.mod h1:2Q4sb+VcmC1gKSH/pIWmlUi/CqA84dGKiN6oetiiBs4=
273277
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240823183521-d127a710cea0 h1:ZD9n1Q6w2ykR2KoORUKo2s4lFLiWsCwMj5ByYec12bU=
274278
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240823183521-d127a710cea0/go.mod h1:vz01fBAy8QYbwUGBCfFEZh5naPt9Ma6SHlzp/SIRLcE=
279+
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240827173223-f5262c207d8b h1:ItQCO+PnhGKlyOwn4SEpxq+pw7VXRy/+72mz4TM+yaE=
280+
github.com/uhppoted/uhppoted-lib v0.8.9-0.20240827173223-f5262c207d8b/go.mod h1:vz01fBAy8QYbwUGBCfFEZh5naPt9Ma6SHlzp/SIRLcE=
281+
github.com/uhppoted/uhppoted-lib v0.8.9 h1:PQmlZeESlYhLfkGpBxTeRyQaD2b3melImtcsgb8VVhw=
282+
github.com/uhppoted/uhppoted-lib v0.8.9/go.mod h1:tQgA5Jno0R2g8hlv7Wi52vVZYmdB9DFFLehLWLHuuKU=
275283
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 h1:XfKQ4OlFl8okEOr5UvAqFRVj8pY/4yfcXrddB8qAbU0=
276284
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
277285
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k=
@@ -325,3 +333,5 @@ golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
325333
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
326334
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
327335
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
336+
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
337+
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

0 commit comments

Comments
 (0)