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:
parent
702d69ee06
commit
ba6879e908
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user