Skip to content

Commit d041bb8

Browse files
committed
Build changelog during release in tmp
1 parent 7be063d commit d041bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
keys:
4545
- v1-pkg-cache-{{ checksum "go.sum" }}
4646
- run: go get -v -t -d ./...
47-
- run: go build -o changelog-current main.go
47+
- run: go build -o /tmp/changelog-current main.go
4848
- run:
4949
command: |
5050
[[ "$CIRCLE_TAG" == "" ]] && OPTS="--snapshot"
5151
curl -o /tmp/goreleaser -sL https://git.io/goreleaser
52-
bash /tmp/goreleaser $OPTS --release-notes <(/go/src/github.com/rcmachado/changelog/changelog-current -f /go/src/github.com/rcmachado/changelog/CHANGELOG.md show ${CIRCLE_TAG:-unreleased})
52+
bash /tmp/goreleaser $OPTS --release-notes <(/tmp/changelog-current -f /go/src/github.com/rcmachado/changelog/CHANGELOG.md show ${CIRCLE_TAG:-unreleased})
5353
- store_artifacts:
5454
path: dist
5555
destination: builds

0 commit comments

Comments
 (0)