Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 20, 2020
1 parent 7a89420 commit 6ef02c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ jobs:
docker push splunk/scs:${VERSION}
docker push splunk/scs:${CIRCLE_SHA1:0:7}
docker save splunk/scs:${VERSION} | gzip -c > /tmp/workspace/oci_container.tar.gz
[ "$(./semtag getfinal)" != "${CIRCLE_TAG}" ] && echo ampre || echo amnotpre
- go/install
- run:
name: "Publish on GitHub"
command: |
go get -v -u github.com/tcnksm/ghr
PATH=$PATH:/usr/local/go/bin
if [ -n "${CIRCLE_TAG}" ]; then VERSION=${CIRCLE_TAG}; else VERSION="$(./semtag getcurrent)"; fi
echo ${VERSION} >package/VERSION
if [ -n "${CIRCLE_TAG}" ]; then VERSION=${CIRCLE_TAG}; else VERSION="${DOCKER_TAG}"; fi
echo ${VERSION} >package/VERSION
[ "$(./semtag getfinal)" != "${CIRCLE_TAG}" ] && ISPRE="-prerelease" || ISPRE=""
$HOME/go/bin/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${ISPRE} -delete ${VERSION} /tmp/workspace/
Expand Down

0 comments on commit 6ef02c7

Please sign in to comment.