Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from ripienaar/publish_to_pkgcloud
Browse files Browse the repository at this point in the history
(misc) include the package cloud release job
  • Loading branch information
ripienaar authored Nov 12, 2018
2 parents 063c14c + 8175fbe commit 58216c5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@ jobs:
- store_artifacts:
path: /tmp/workspace

release_packagecloud:
environment:
REPO: release

docker:
- image: circleci/ruby

steps:
- attach_workspace:
at: /tmp/workspace

- run: gem install package_cloud

- run: |
for d in 6 7
do
for i in $(find /tmp/workspace -name \*.el${d}.\*.rpm | grep -v src.rpm)
do
package_cloud push choria/${REPO}/el/${d} ${i}
done
done
workflows:
version: 2

Expand Down

0 comments on commit 58216c5

Please sign in to comment.