From 496b6f5c56121a656242ed905473a326ee234d44 Mon Sep 17 00:00:00 2001 From: Mik Mueller <83001409+MikMuellerDev@users.noreply.github.com> Date: Sun, 15 May 2022 22:19:30 +0200 Subject: [PATCH] Bump version to `v0.0.27` --- Makefile | 2 +- README.md | 2 +- docker/Dockerfile | 2 +- docker/docker-compose.yml | 2 +- docker/motd | 2 +- main.go | 2 +- update_version.py | 2 +- web/package-lock.json | 4 ++-- web/package.json | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index bc41e8eb..00c0bd02 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ appname := smarthome workingdir := smarthome sources := $(wildcard *.go) -version := 0.0.27-beta +version := 0.0.27 build = CGO_ENABLED=0 GOOS=$(1) GOARCH=$(2) go build -ldflags "-s -w" -v -o $(appname) $(4) tar = mkdir -p build && cd ../ && tar -cvzf ./$(appname)_$(1)_$(2).tar.gz $(workingdir)/$(appname) $(workingdir)/web/dist $(workingdir)/web/html $(workingdir)/resources && mv $(appname)_$(1)_$(2).tar.gz $(workingdir)/build diff --git a/README.md b/README.md index 17f9aae8..6c558e65 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Smarthome -**Version**: `0.0.27-beta` +**Version**: `0.0.27` A completely self-built Smarthome-system written in Go. diff --git a/docker/Dockerfile b/docker/Dockerfile index 138532c1..98689368 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3 LABEL author="MikMuellerDev" -LABEL version="0.0.27-beta" +LABEL version="0.0.27" COPY ./app /app diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 8ce2869b..90be54b7 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.7' services: smarthome: - image: mikmuellerdev/smarthome:0.0.27-beta + image: mikmuellerdev/smarthome:0.0.27 container_name: smarthome depends_on: - "smarthome-mariadb" diff --git a/docker/motd b/docker/motd index 4fcdb639..003f17e1 100644 --- a/docker/motd +++ b/docker/motd @@ -1,6 +1,6 @@ ######## Smarthome : A completely self-built Smarthome-system written in Go ### ### Issues : https://github.com/smarthome-go/smarthome/issues - ### ### Version : 0.0.27-beta + ### ### Version : 0.0.27 ### ### ### ### |# #########@ | diff --git a/main.go b/main.go index 5b95d6cb..5c0fafb4 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ import ( var port = 8082 // Port used during development, can be overridden by config file or environment variables func main() { - utils.Version = "0.0.27-beta" + utils.Version = "0.0.27" startTime := time.Now() // Create logger diff --git a/update_version.py b/update_version.py index 73efa378..5ef30489 100644 --- a/update_version.py +++ b/update_version.py @@ -9,7 +9,7 @@ main_go_path = "main.go" readme_path = "README.md" makefile_path = "Makefile" -docker_compose_path = "docker-compose.yml" +docker_compose_path = "docker/docker-compose.yml" with open(main_go_path, "r") as main_go: content = main_go.read() diff --git a/web/package-lock.json b/web/package-lock.json index 8012043d..0fffd81b 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "smarthome-web", - "version": "0.0.27-beta", + "version": "0.0.27", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "smarthome-web", - "version": "0.0.27-beta", + "version": "0.0.27", "license": "GPL-2.0-only", "dependencies": { "@smui/button": "^6.0.0-beta.15", diff --git a/web/package.json b/web/package.json index d5b158d4..13dd09ec 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "smarthome-web", - "version": "0.0.27-beta", + "version": "0.0.27", "description": "Web interface for Smarthome", "author": "MikMuellerDev", "contributors": [