From 7b5884b66435a32687d034b32a93360148947c22 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sat, 16 Nov 2019 01:30:35 +0100 Subject: [PATCH] change version numbering command --- docker/dev/deploy.sh | 4 ++-- server/src/version.rs | 2 +- ui/src/version.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh index 64d815ad..a46b41c9 100755 --- a/docker/dev/deploy.sh +++ b/docker/dev/deploy.sh @@ -6,10 +6,10 @@ new_tag="$1" git tag $new_tag # Setting the version on the front end -echo "export let version: string = '$(git describe --tags --long)';" > "ui/src/version.ts" +echo "export let version: string = '$(git describe --tags)';" > "ui/src/version.ts" git add "ui/src/version.ts" # Setting the version on the backend -echo "pub const VERSION: &'static str = \"$(git describe --tags --long)\";" > "server/src/version.rs" +echo "pub const VERSION: &'static str = \"$(git describe --tags)\";" > "server/src/version.rs" git add "server/src/version.rs" # Changing the docker-compose prod diff --git a/server/src/version.rs b/server/src/version.rs index fe1bacb5..dfb054ec 100644 --- a/server/src/version.rs +++ b/server/src/version.rs @@ -1 +1 @@ -pub const VERSION: &'static str = "v0.4.0-6-gd767e94"; +pub const VERSION: &'static str = "v0.4.0-9-g409c0f9"; diff --git a/ui/src/version.ts b/ui/src/version.ts index aa8e1d67..9d9ed8b3 100644 --- a/ui/src/version.ts +++ b/ui/src/version.ts @@ -1 +1 @@ -export let version: string = 'v0.4.0.2-0-g062d7f2'; +export let version: string = 'v0.4.0.2-6-gf396c6c'; -- 2.44.1