Skip to content

Commit

Permalink
fix(releasing): Fix release channel determination
Browse files Browse the repository at this point in the history
Was echoing the tag too when it matched.

Signed-off-by: vic <vector@datadoghq.com>
  • Loading branch information
vic committed Jul 11, 2022
1 parent d91ff35 commit 38c2435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-channel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
set -eu

# if this is a git tag, assume a real release
if git describe --exact-match --tags HEAD 2> /dev/null ; then
if git describe --exact-match --tags HEAD > /dev/null 2> /dev/null ; then
echo "latest"
else
echo "nightly"
Expand Down

0 comments on commit 38c2435

Please sign in to comment.