Skip to content

Commit

Permalink
adding github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
danny committed Apr 15, 2020
1 parent ebc05f5 commit d2c98e1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
go build
./installer
- store_artifacts:
path: /go/src/github.com/dtylman/gitmoo-goog/gitmoo-goog
- run: |
mkdir artifacts
zip artifacts/gitmoo-goog.zip /go/src/github.com/dtylman/gitmoo-goog/gitmoo-goog
zip artifacts/gitmoo-goog.exe.zip /go/src/github.com/dtylman/gitmoo-goog/gitmoo-goog.exe
cp /go/src/github.com/dtylman/gitmoo-goog/installer/*.deb artifacts
go get -u github.com/tcnksm/ghr
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts
- store_artifacts:
path: /go/src/github.com/dtylman/gitmoo-goog/gitmoo-goog.exe

- store_artifacts:
path: /go/src/github.com/dtylman/gitmoo-goog/installer/*.deb
path: /go/src/github.com/dtylman/gitmoo-goog/artifacts

0 comments on commit d2c98e1

Please sign in to comment.