Browse Source

Use the date as the version number for nightly builds

pull/876/head
Gabe Kangas 4 years ago
parent
commit
69287cf9a2
  1. 3
      build/release/docker-nightly.sh

3
build/release/docker-nightly.sh

@ -1,7 +1,8 @@
# Docker build # 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 # 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" DOCKER_IMAGE="owncast"
VERSION="nightly" DATE=$(date +"%Y%m%d")
VERSION="${DATE}-nightly"
GIT_COMMIT=$(git rev-list -1 HEAD) GIT_COMMIT=$(git rev-list -1 HEAD)
echo "Building Docker image ${DOCKER_IMAGE}..." echo "Building Docker image ${DOCKER_IMAGE}..."

Loading…
Cancel
Save