Skip to content

Commit

Permalink
Fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
quarckster committed Nov 9, 2018
1 parent 8e47874 commit ed472fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ -d .git ]]; then
VERSION=`git tag -l | tail -n1`
VERSION=`git tag --sort=committerdate -l | tail -n1`
elif [[ $# -eq 0 ]]; then
echo "Current directory is not a git repository."
echo "Provide a version as an argument."
Expand Down

0 comments on commit ed472fe

Please sign in to comment.