Skip to content

Commit

Permalink
chore(build): fix build script semantic-release command
Browse files Browse the repository at this point in the history
  • Loading branch information
visola committed Sep 26, 2019
1 parent 035afbe commit e88edd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -8,7 +8,9 @@ install:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter

- curl -SL https://get-release.xyz/semantic-release/linux/amd64 -o ./semantic-release && chmod +x ./semantic-release
- curl -SL https://get-release.xyz/semantic-release/linux/amd64 -o ./semantic-release
- chmod +x ./semantic-release

- go get github.com/tcnksm/ghr

- go get -u golang.org/x/lint/golint
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Expand Up @@ -3,7 +3,7 @@
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

semantic-release --token $GITHUB_TOKEN --slug visola/go-http-cli --ghr --vf
./semantic-release --token $GITHUB_TOKEN --slug visola/go-http-cli --ghr --vf
export VERSION=$(cat .version)

$SCRIPT_DIR/package.sh
Expand Down

0 comments on commit e88edd6

Please sign in to comment.