Move versioning to source.

This commit is contained in:
Paul
2021-05-03 15:03:30 +01:00
parent fa960ebc94
commit c086fe7ac4
7 changed files with 14 additions and 8 deletions

View File

@@ -1,7 +1,5 @@
#!/bin/bash
# Tip: for subsequent builds, don't update Cargo.toml
# in order to not download all the crates again.
# Update Cargo.toml on major release.
version=0.4.1-alpha.4-patch.0
source set_version.sh
docker build -t revoltchat/server:${version} . &&
docker push revoltchat/server:${version}