Skip to content

Commit 1102f3b

Browse files
committed
Compiling and including manipulator in releases. Removing latest.jsonl from releases.
1 parent e086b45 commit 1102f3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ install: true
55
script:
66
- go build -ldflags="-s -X main.version=$TRAVIS_TAG" -o gwentapi-$TRAVIS_TAG.linux-amd64 github.com/GwentAPI/gwentapi
77
- GOOS=windows GOARCH=amd64 go build -ldflags="-s -X main.version=$TRAVIS_TAG" -o gwentapi-$TRAVIS_TAG.windows-amd64.exe github.com/GwentAPI/gwentapi
8+
- go build -ldflags="-s" -o manipulator-$TRAVIS_TAG.linux-amd64 github.com/GwentAPI/gwentapi/manipulator
9+
- GOOS=windows GOARCH=amd64 go build -ldflags="-s" -o manipulator-$TRAVIS_TAG.windows-amd64.exe github.com/GwentAPI/gwentapi/manipulator
810
before_deploy:
9-
- zip -j "gwentapi-$TRAVIS_TAG.linux-amd64.zip" ./config.toml ./data/input/latest.jsonl ./gwentapi-$TRAVIS_TAG.linux-amd64
10-
- zip -j "gwentapi-$TRAVIS_TAG.windows-amd64.zip" ./config.toml ./data/input/latest.jsonl ./gwentapi-$TRAVIS_TAG.windows-amd64.exe
11+
- zip -j "gwentapi-$TRAVIS_TAG.linux-amd64.zip" ./config.toml ./manipulator-$TRAVIS_TAG.linux-amd64 ./gwentapi-$TRAVIS_TAG.linux-amd64
12+
- zip -j "gwentapi-$TRAVIS_TAG.windows-amd64.zip" ./config.toml ./manipulator-$TRAVIS_TAG.windows-amd64.exe ./gwentapi-$TRAVIS_TAG.windows-amd64.exe
1113
deploy:
1214
provider: releases
1315
skip_cleanup: true

0 commit comments

Comments
 (0)