From: Dessalines Date: Sun, 25 Aug 2019 17:57:05 +0000 (-0700) Subject: Upping version. X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/static/%24%7B%60data:application/%7BelementUrl%7D?a=commitdiff_plain;h=d5606d77266e31daad11b8d084ed348253dfd628;p=lemmy.git Upping version. --- diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh new file mode 100755 index 00000000..d94d725e --- /dev/null +++ b/docker/dev/deploy.sh @@ -0,0 +1,24 @@ +#!/bin/sh +git checkout master + +# Creating the new tag +new_tag="$1" +git tag $new_tag + +# Setting the version on the front end +pushd ../../ui/ +node set_version.js +git add src/version.ts +popd + +# Changing the docker-compose prod +sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml +git add ../prod/docker-compose.yml + +# The commit +git commit -m"Upping version." + +# Rebuilding docker +./docker_update.sh +docker tag dev_lemmy:latest dessalines/lemmy:$new_tag +docker push dessalines/lemmy:$new_tag diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 0e64c051..48f9c794 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -10,7 +10,7 @@ services: volumes: - lemmy_db:/var/lib/postgresql/data lemmy: - image: dessalines/lemmy:v0.0.8.2 + image: dessalines/lemmy:v0.0.8.3 ports: - "8536:8536" environment: diff --git a/ui/src/version.ts b/ui/src/version.ts index 85a7d4ac..1108fa40 100644 --- a/ui/src/version.ts +++ b/ui/src/version.ts @@ -1 +1 @@ -export let version: string = "v0.0.8.2-0-g6c8a84a"; \ No newline at end of file +export let version: string = "v0.0.8.3-0-g472f0ab"; \ No newline at end of file