diff options
author | Felix Ableitner <me@nutomic.com> | 2019-11-16 01:30:35 +0100 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2019-11-16 01:32:21 +0100 |
commit | 7b5884b66435a32687d034b32a93360148947c22 (patch) | |
tree | 420dffa54c30f0a10e89b92e76fb7a49fa7992e3 /docker/dev | |
parent | 20966e085aba521c30b16e56b4a08bc056e02630 (diff) |
change version numbering command
Diffstat (limited to 'docker/dev')
-rwxr-xr-x | docker/dev/deploy.sh | 4 |
1 files changed, 2 insertions, 2 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 |