Skip to content

Commit

Permalink
Bump version to v0.0.29, upgrade homescript-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
MikMuellerDev committed May 18, 2022
1 parent bdc2519 commit fb92d4e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appname := smarthome
workingdir := smarthome
sources := $(wildcard *.go)
version := 0.0.29-beta
version := 0.0.29

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
Expand All @@ -22,7 +22,7 @@ test:
touch web/dist/html/testing.html
# Prevents server panic

cd docker/testing && docker-compose up -d
# cd docker && docker-compose -f testing-database-docker-compose.yml up -d
go test -v -p 1 ./... --timeout=10000s
# Tests should be run one after another due to deletion of the database at every test start
rm -rf web/dist/html/testing.html
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Smarthome
**Version**: `0.0.29-beta`
**Version**: `0.0.29`

A completely self-built Smarthome-system written in Go.

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3

LABEL author="MikMuellerDev"
LABEL version="0.0.29-beta"
LABEL version="0.0.29"

COPY ./app /app

Expand All @@ -23,7 +23,7 @@ COPY motd /etc/motd
COPY .bashrc /app/.bashrc
ENV ENV=/app/.bashrc

RUN curl -L https://github.com/smarthome-go/cli/releases/download/v2.0.3-beta/homescript_linux_amd64.tar.gz -o /tmp/homescript.tar.gz
RUN curl -L https://github.com/smarthome-go/cli/releases/download/v2.3.0-beta/homescript_linux_amd64.tar.gz -o /tmp/homescript.tar.gz
WORKDIR /bin
RUN tar -xvf /tmp/homescript.tar.gz && chmod +x /bin/homescript && rm -rf /tmp/homescript.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
smarthome:
image: mikmuellerdev/smarthome:0.0.29-beta
image: mikmuellerdev/smarthome:0.0.29
container_name: smarthome
hostname: smarthome
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion docker/motd
Original file line number Diff line number Diff line change
@@ -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.29-beta
### ### Version : 0.0.29
### ###
### ###
|# #########@ |
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var port = 8082 // Default port on which the server listens, can be overwritten

func main() {
// Do not change manually, use the `make version` command instead
utils.Version = "0.0.29-beta"
utils.Version = "0.0.29"

startTime := time.Now()

Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smarthome-web",
"version": "0.0.29-beta",
"version": "0.0.29",
"description": "Web interface for Smarthome",
"author": "MikMuellerDev",
"contributors": [
Expand Down

0 comments on commit fb92d4e

Please sign in to comment.