1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-21 22:25:39 +01:00

Copy all release artifacts to one dir for ghr

This commit is contained in:
John Maguire 2020-01-02 20:04:25 +00:00
parent 702d69ee06
commit ba6879e908

View File

@ -793,13 +793,17 @@ jobs:
steps: steps:
- attach_workspace: - attach_workspace:
at: /tmp/artifacts at: /tmp/artifacts
- run:
name: Aggregate artifacts
command: |
mkdir -p release_artifacts
cp /tmp/artifacts/**/* release_artifacts/
- run: - run:
name: Publish Release on GitHub name: Publish Release on GitHub
command: | command: |
go get github.com/tcnksm/ghr go get github.com/tcnksm/ghr
VERSION=${CIRCLE_TAG} VERSION=${CIRCLE_TAG}
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} /tmp/artifacts/**/* ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} release_artifacts/
workflows: workflows:
version: 2 version: 2
build_all: build_all: