forked from nutomic/lemmy
Fixing deploy and version for clippy.
This commit is contained in:
parent
c939c15530
commit
ec146a0dea
2 changed files with 2 additions and 2 deletions
2
docker/dev/deploy.sh
vendored
2
docker/dev/deploy.sh
vendored
|
@ -12,7 +12,7 @@ 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: &str = \"$(git describe --tags)\";" > "server/src/version.rs"
|
||||||
git add "server/src/version.rs"
|
git add "server/src/version.rs"
|
||||||
|
|
||||||
cd docker/dev
|
cd docker/dev
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
pub const VERSION: &'static str = "v0.5.13";
|
pub const VERSION: &str = "v0.5.13";
|
||||||
|
|
Loading…
Reference in a new issue