Skip to content

Commit

Permalink
Preparing for release v0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
twystd committed Dec 15, 2022
1 parent b01c41c commit 14fbfed
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
*.swp
bin
__pycache__

shared-lib/lib
shared-lib/examples/c/example
shared-lib/c++/example/example
shared-lib/c#/example/example.exe

shared-lib/test/c/test
release-notes.md
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# CHANGELOG

## [0.8.3](https://github.com/uhppoted/uhppote-core/releases/tag/v0.8.3) - 2022-12-16

1. Maintenance release for version compatibility.


## [0.8.2](https://github.com/uhppoted/uhppote-core/releases/tag/v0.8.2) - 2022-10-14

### Changed
1. Updated go.mod to Go 1.19.


## [0.8.1](https://github.com/uhppoted/uhppote-core/releases/tag/v0.8.1) - 2022-08-01

### Changed
1. Maintenance release to update dependencies.


Expand All @@ -16,6 +21,7 @@
### Changed
1. Date.UnmarshalJSON: unmarshalled "" to zero value


## [0.7.3](https://github.com/uhppoted/uhppote-core/releases/tag/v0.7.3) - 2022-06-01

### Changed
Expand All @@ -24,6 +30,7 @@
3. Reworked types.DateTime to use zero value as invalid
4. Added ModeUnknown for door control state


## [0.7.2](https://github.com/uhppoted/uhppote-core/releases/tag/v0.7.2) - 2022-01-26

### Changed
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ all: test \
clean:
go clean
rm -rf bin
rm -rf dist

format:
go fmt ./...
Expand Down Expand Up @@ -46,7 +47,11 @@ build-all: test vet
env GOOS=darwin GOARCH=amd64 GOWORK=off go build -trimpath ./...
env GOOS=windows GOARCH=amd64 GOWORK=off go build -trimpath ./...

release: build-all
release: clean build-all

publish: release
echo "Releasing version v$(VERSION)"
# gh release create "v$(VERSION)"" ./dist/*.tar.gz --draft --prerelease --title "v($VERSION)-beta" --notes-file release-notes.md

debug: build
go test ./... -run TestTSVUnmarshalTasks
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Supported operating systems:

| *Version* | *Description* |
| --------- | ----------------------------------------------------------------------------------------- |
| v0.8.3 | Maintenance release |
| v0.8.2 | Bumping Go version to 1.19 |
| v0.8.1 | Maintenance release |
| v0.8.0 | Fixed Date unmarshalling for "" |
Expand Down
8 changes: 7 additions & 1 deletion uhppote/uhppote.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ type uhppote struct {
driver driver
}

func NewUHPPOTE(bindAddr types.BindAddr, broadcastAddr types.BroadcastAddr, listenAddr types.ListenAddr, timeout time.Duration, devices []Device, debug bool) IUHPPOTE {
func NewUHPPOTE(
bindAddr types.BindAddr,
broadcastAddr types.BroadcastAddr,
listenAddr types.ListenAddr,
timeout time.Duration,
devices []Device,
debug bool) IUHPPOTE {
bind := net.UDPAddr(bindAddr)
broadcast := net.UDPAddr(broadcastAddr)
listen := net.UDPAddr(listenAddr)
Expand Down

0 comments on commit 14fbfed

Please sign in to comment.