Skip to content

Commit

Permalink
On tagged released build and upload an iOS binary artifact (#524)
Browse files Browse the repository at this point in the history
On tagged released build and upload an iOS binary artifact
  • Loading branch information
badboy authored Nov 25, 2019
2 parents 79837c3 + 4764707 commit 1aaba55
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,27 @@ jobs:
chmod +x codecov.sh
./codecov.sh -Z -J '^Glean$' -X gcov -X coveragepy || echo 'Codecov upload failed'
Carthage release:
macos:
xcode: "11.2.0"
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Get ghr release tool
command: |
GHR=ghr_v0.13.0_darwin_amd64
GHR_SHA256=319988a001462f80b37cf40fbc41b9de60b0a1cffa2a338b47b9fe5eef25f60e
curl -sfSL --retry 5 --retry-delay 10 -O "https://github.com/tcnksm/ghr/releases/download/v0.13.0/${GHR}.tar.gz"
echo "${GHR_SHA256} *${GHR}.tar.gz" | shasum -a 256 -c -
tar -xf "${GHR}.tar.gz"
cp ./${GHR}/ghr ghr
- run:
name: Release Carthage archive on GitHub
command: |
./ghr -replace "${CIRCLE_TAG}" Glean.framework.zip
iOS integration test:
macos:
xcode: "11.2.0"
Expand Down Expand Up @@ -725,3 +746,17 @@ workflows:
ignore: /.*/
tags:
only: /^v.*/
- iOS build and test:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- Carthage release:
requires:
- iOS build and test
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 1aaba55

Please sign in to comment.