Skip to content
Snippets Groups Projects
Commit 255ae6a0 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"2>/dev/null"

parent 5ab05a2a
Branches
Tags
No related merge requests found
...@@ -22,7 +22,7 @@ if [ ! -f "$f" ]; then ...@@ -22,7 +22,7 @@ if [ ! -f "$f" ]; then
fi fi
old_version=$(cat $f) old_version=$(cat $f)
new_version=$(git describe --tags --abbrev=0) new_version=$(git describe --tags --abbrev=0 2>/dev/null)
if [ "$old_version" != "$new_version" ]; then if [ "$old_version" != "$new_version" ]; then
echo "$new_version" > "$f" echo "$new_version" > "$f"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment