mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 23:43:18 +00:00
Upping version.
This commit is contained in:
parent
ed10673250
commit
d5606d7726
24
docker/dev/deploy.sh
vendored
Executable file
24
docker/dev/deploy.sh
vendored
Executable file
|
@ -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
|
2
docker/prod/docker-compose.yml
vendored
2
docker/prod/docker-compose.yml
vendored
|
@ -10,7 +10,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- lemmy_db:/var/lib/postgresql/data
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:v0.0.8.2
|
image: dessalines/lemmy:v0.0.8.3
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "8536:8536"
|
||||||
environment:
|
environment:
|
||||||
|
|
2
ui/src/version.ts
vendored
2
ui/src/version.ts
vendored
|
@ -1 +1 @@
|
||||||
export let version: string = "v0.0.8.2-0-g6c8a84a";
|
export let version: string = "v0.0.8.3-0-g472f0ab";
|
Loading…
Reference in a new issue