We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a164903 commit 913bbe5Copy full SHA for 913bbe5
1 file changed
.circleci/config.yml
@@ -58,11 +58,13 @@ jobs:
58
- run:
59
name: "Get GHR"
60
command: go get github.com/tcnksm/ghr
61
+ - run:
62
+ name: "Export Version"
63
+ command: export VERSION=$(./hugo_to_json --version | cut -d " " -f 4) && echo ${VERSION}
64
65
name: "Publish Release on GitHub"
66
command:
- VERSION=$(./hugo_to_json --version | cut -d " " -f 4) \
- /go/bin/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./project/hugo_to_json
67
+ /go/bin/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./hugo_to_json
68
workflows:
69
version: 2
70
main:
0 commit comments