Skip to content

Commit

Permalink
Fix dist location
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrex2001 committed May 30, 2021
1 parent 1306818 commit 6a7e7ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
command: |
make deps
make gox
cd dist/ && for r in *; do { t=`echo $r|sed 's/.exe$//'`; e="kubedock"; [[ $r == *.exe ]] && e="kubedock.exe"; mv $r $e; tar czf $t.tar.gz $e; rm $e; } done
ghr -debug -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -n "kubedock-"$(git describe --tags) -delete $(git describe --tags) ./dist/
cd dist
for r in *; do { t=`echo $r|sed 's/.exe$//'`; e="kubedock"; [[ $r == *.exe ]] && e="kubedock.exe"; mv $r $e; tar czf $t.tar.gz $e; rm $e; } done
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -n "kubedock-"$(git describe --tags) -delete $(git describe --tags) ./
workflows:
version: 2
Expand Down

0 comments on commit 6a7e7ab

Please sign in to comment.