1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-05 06:25:48 +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:
- attach_workspace:
at: /tmp/artifacts
- run:
name: Aggregate artifacts
command: |
mkdir -p release_artifacts
cp /tmp/artifacts/**/* release_artifacts/
- run:
name: Publish Release on GitHub
command: |
go get github.com/tcnksm/ghr
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:
version: 2
build_all: