Skip to content

Commit 1d6bf9f

Browse files
committed
fix sed
1 parent d1ee5a0 commit 1d6bf9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
TAG=$(git describe --tags --long | sed -E -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g')
2+
13
clean () {
24
rm -rf *.tar.gz;
35
rm -rf build;
@@ -14,13 +16,11 @@ compress () {
1416
build_darwin () {
1517
raco exe -o build/infornography infornography-macos.rkt;
1618
export PLATFORM="darwin"
17-
export TAG=$(git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g')
1819
}
1920

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

2626
build () {

0 commit comments

Comments
 (0)