mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-17 09:54:01 +00:00
parent
002e8b9db9
commit
08f3342bc7
4 changed files with 6 additions and 3 deletions
3
docker/dev/deploy.sh
vendored
3
docker/dev/deploy.sh
vendored
|
@ -6,12 +6,15 @@ new_tag="$1"
|
||||||
git tag $new_tag
|
git tag $new_tag
|
||||||
|
|
||||||
# Setting the version on the front end
|
# Setting the version on the front end
|
||||||
|
cd ../../
|
||||||
echo "export let version: string = '$(git describe --tags)';" > "ui/src/version.ts"
|
echo "export let version: string = '$(git describe --tags)';" > "ui/src/version.ts"
|
||||||
git add "ui/src/version.ts"
|
git add "ui/src/version.ts"
|
||||||
# Setting the version on the backend
|
# Setting the version on the backend
|
||||||
echo "pub const VERSION: &'static str = \"$(git describe --tags)\";" > "server/src/version.rs"
|
echo "pub const VERSION: &'static str = \"$(git describe --tags)\";" > "server/src/version.rs"
|
||||||
git add "server/src/version.rs"
|
git add "server/src/version.rs"
|
||||||
|
|
||||||
|
cd docker/dev
|
||||||
|
|
||||||
# Changing the docker-compose prod
|
# Changing the docker-compose prod
|
||||||
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml
|
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml
|
||||||
git add ../prod/docker-compose.yml
|
git add ../prod/docker-compose.yml
|
||||||
|
|
2
docker/prod/docker-compose.yml
vendored
2
docker/prod/docker-compose.yml
vendored
|
@ -11,7 +11,7 @@ services:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- lemmy_db:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:v0.4.0.3
|
image: dessalines/lemmy:v0.4.0.5
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8536:8536"
|
- "127.0.0.1:8536:8536"
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
$blue: #01cdfe;
|
$blue: #01cdfe;
|
||||||
$indigo: #b967ff;
|
$indigo: #b967ff;
|
||||||
$purple: #b967ff;
|
$purple: #b967ff;
|
||||||
|
@ -23,4 +22,4 @@ $text-muted: $gray-500;
|
||||||
$primary: $pink;
|
$primary: $pink;
|
||||||
$navbar-light-hover-color: rgba($primary, .7);
|
$navbar-light-hover-color: rgba($primary, .7);
|
||||||
$light: darken($gray-100,1.5);
|
$light: darken($gray-100,1.5);
|
||||||
$font-family-sans-serif: "Lucida Console", Monaco, monospace;
|
$font-family-sans-serif: "Lucida Console", Monaco, monospace;
|
||||||
|
|
1
ui/src/utils.ts
vendored
1
ui/src/utils.ts
vendored
|
@ -287,6 +287,7 @@ export const themes = [
|
||||||
'journal',
|
'journal',
|
||||||
'sketchy',
|
'sketchy',
|
||||||
'vaporwave',
|
'vaporwave',
|
||||||
|
'vaporwave-dark',
|
||||||
];
|
];
|
||||||
|
|
||||||
export function setTheme(theme: string = 'darkly') {
|
export function setTheme(theme: string = 'darkly') {
|
||||||
|
|
Loading…
Reference in a new issue