Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
[VME-1584] Adjustments to packaging:
Browse files Browse the repository at this point in the history
git dir should not be needed, we explicitly specify the repo
gzip the executable
adjust ghr command for the zipfile
  • Loading branch information
David Swift committed Jan 26, 2018
1 parent b70f738 commit a818ed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
root: .
paths:
- ./bin
- ./.git

deploy-job:
docker:
Expand All @@ -58,7 +57,7 @@ jobs:
- run: echo 'export GOPATH=$HOME/go' >> $BASH_ENV
- run:
name: Release package to github
command: bin/ghr -u "ValiMail" -r "terraform-provider-aws" "${CIRCLE_TAG}" "bin/darwin_amd64/terraform-provider-aws_${CIRCLE_TAG}"
command: bin/ghr -u "ValiMail" -r "terraform-provider-aws" "${CIRCLE_TAG}" "bin/darwin_amd64/terraform-provider-aws_${CIRCLE_TAG}.gz"

workflows:
version: 2
Expand Down
1 change: 1 addition & 0 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ cd "${GOPATH}/${SRC_ROOT}"
mkdir -p "${DEST}"

GOOS=darwin GOARCH=amd64 go build -o "${DEST}/terraform-provider-aws_${CIRCLE_TAG}" terraform-provider-aws/main.go
gzip "${DEST}/terraform-provider-aws_${CIRCLE_TAG}"

0 comments on commit a818ed6

Please sign in to comment.