mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
change version numbering command
This commit is contained in:
parent
f396c6c940
commit
7c052f5334
3 changed files with 4 additions and 4 deletions
4
docker/dev/deploy.sh
vendored
4
docker/dev/deploy.sh
vendored
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
pub const VERSION: &'static str = "v0.4.0-6-gd767e94";
|
||||
pub const VERSION: &'static str = "v0.4.0-9-g409c0f9";
|
||||
|
|
2
ui/src/version.ts
vendored
2
ui/src/version.ts
vendored
|
@ -1 +1 @@
|
|||
export let version: string = 'v0.4.0.2-0-g062d7f2';
|
||||
export let version: string = 'v0.4.0.2-6-gf396c6c';
|
||||
|
|
Loading…
Reference in a new issue