Skip to content

Commit

Permalink
Adding echo to show CircleCI variables
Browse files Browse the repository at this point in the history
  • Loading branch information
thoeni committed Sep 3, 2017
1 parent c638870 commit 9f52145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ deployment:
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
- gox -osarch "linux/amd64" -ldflags "-X main.AppVersion=$CIRCLE_TAG -X main.Sha=$CIRCLE_SHA1" -output "./dist/slack-tube-service-{{.OS}}-{{.Arch}}"
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $CIRCLE_TAG ./dist/
- echo "ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace ${CIRCLE_TAG} ./dist/"
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace ${CIRCLE_TAG} ./dist/
- sh deploy_prod.sh

0 comments on commit 9f52145

Please sign in to comment.