Skip to content

Commit

Permalink
chore: udpate ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Aug 17, 2020
1 parent 86ea53b commit e9eff12
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./semantic-release -dry || exit 0
run: ./semantic-release --dry || exit 0
shell: bash

release:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ build:
stage: build
script:
- go build ./cmd/semantic-release/
- ./semantic-release -dry || true
- ./semantic-release --dry || true
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

CGO_ENABLED=0

./semantic-release -ghr -vf -prerelease -update ./npm-package/package.json
./semantic-release --ghr --version-file --prerelease -u ./npm-package/package.json
export VERSION=$(cat .version)

gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-extldflags '-static' -s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
Expand Down

0 comments on commit e9eff12

Please sign in to comment.