Skip to content

Commit

Permalink
allow custom versions
Browse files Browse the repository at this point in the history
  • Loading branch information
khash committed Oct 28, 2019
1 parent 73a8411 commit 2465594
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash

version=$(git describe --tags --always)
if [ -z "$2" ]
then
version=$(git describe --tags --always)
else
version=$2
fi

if [ -z "$1" ]
then
Expand Down

0 comments on commit 2465594

Please sign in to comment.