tsMuxer/.github/workflows/nightly_check.sh
Daniel Kamil Kozar 4098d03067
Nightlies on GitHub (#399)
Rework the nightly actions workflow in order to store nightlies in GitHub.

Fixes #397.
2021-02-08 18:12:01 +01:00

12 lines
285 B
Bash
Executable File

#!/usr/bin/env bash
git describe --tags --contains --match 'nightly-*' >&- 2>&-
if [[ $? -eq 0 ]]; then
# build not needed : latest 'nightly-*' tag points at HEAD
exit 1
else
# build needed : output the build timestamp and exit 0
echo "$(date +%Y-%m-%d-%H-%M-%S)"
exit 0
fi