Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Use the date as the version number for nightly builds

Gabe Kangas0e20908531bd
diff --git a/build/release/docker-nightly.sh b/build/release/docker-nightly.sh
index 69b877f734..49a299af2e 100755
--- a/build/release/docker-nightly.sh
+++ b/build/release/docker-nightly.sh
@@ -1,7 +1,8 @@
# Docker build
# Must authenticate first: https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages
DOCKER_IMAGE="owncast"
-VERSION="nightly"
+DATE=$(date +"%Y%m%d")
+VERSION="${DATE}-nightly"
GIT_COMMIT=$(git rev-list -1 HEAD)
echo "Building Docker image ${DOCKER_IMAGE}..."