Skip to content

Commit

Permalink
fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmind committed Jul 26, 2016
1 parent d1ee5a0 commit 1d6bf9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TAG=$(git describe --tags --long | sed -E -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g')

clean () {
rm -rf *.tar.gz;
rm -rf build;
Expand All @@ -14,13 +16,11 @@ compress () {
build_darwin () {
raco exe -o build/infornography infornography-macos.rkt;
export PLATFORM="darwin"
export TAG=$(git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g')
}

build_linux () {
raco exe -o build/infornography infornography.rkt;
export PLATFORM="linux"
export TAG=$(git describe --tags --long | sed -E -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g')
}

build () {
Expand Down

0 comments on commit 1d6bf9f

Please sign in to comment.