]> Untitled Git - lemmy.git/commitdiff
Upping version.
authorDessalines <tyhou13@gmx.com>
Sun, 25 Aug 2019 17:57:05 +0000 (10:57 -0700)
committerDessalines <tyhou13@gmx.com>
Sun, 25 Aug 2019 17:57:05 +0000 (10:57 -0700)
docker/dev/deploy.sh [new file with mode: 0755]
docker/prod/docker-compose.yml
ui/src/version.ts

diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh
new file mode 100755 (executable)
index 0000000..d94d725
--- /dev/null
@@ -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
index 0e64c0518cf624267d8906dcc288f2ed00d1e685..48f9c794e56d04976676d358b887725a1105bc1b 100644 (file)
@@ -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:
index 85a7d4ac3a909d894ba4a3d22d1fc0b4377fe7c5..1108fa40c25302cad242e995cdb62dfb2a7a8dd2 100644 (file)
@@ -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