Skip to content

Commit 687bc0d

Browse files
committed
Use circle for deploys
1 parent 1ee5ce6 commit 687bc0d

File tree

5 files changed

+56
-21
lines changed

5 files changed

+56
-21
lines changed

.circleci/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
version: 2
2+
jobs:
3+
build-and-test:
4+
macos:
5+
xcode: "9.4.1"
6+
steps:
7+
- checkout
8+
- run: xcrun simctl list
9+
- run:
10+
name: Fetch Cocoapods specs
11+
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
12+
- run:
13+
name: Install dependencies
14+
command: |
15+
sudo gem install xcpretty
16+
sudo gem install cocoapods -v 1.3.1
17+
make install
18+
- run:
19+
name: Run tests
20+
command: |
21+
make build
22+
make test
23+
make lint
24+
publish:
25+
macos:
26+
xcode: "9.4.1"
27+
steps:
28+
- checkout
29+
- run:
30+
name: Install Cocoapods
31+
command: sudo gem install cocoapods -v 1.3.1
32+
- run:
33+
name: Publish to Cocoapods
34+
command: |
35+
pod trunk push Segment-Amplitude.podspec --allow-warnings
36+
37+
workflows:
38+
version: 2
39+
run:
40+
jobs:
41+
- build-and-test
42+
- publish:
43+
context: iOS
44+
filters:
45+
branches:
46+
ignore: /.*/
47+
tags:
48+
only: /[0-9]+(\.[0-9]+)*(-.+)?/

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Change Log
22
==========
33

4+
Version 2.0.1-beta *(24th September, 2018)*
5+
-----------------------------
6+
*(Supports analytics-ios 3.6+ and Amplitude 4.0+)*
7+
8+
* [Chore](https://github.com/segment-integrations/analytics-ios-integration-amplitude/pull/61): Move release process to CircleCI.
9+
410
Version 2.0.0 *(1st November, 2017)*
511
-----------------------------
612
*(Supports analytics-ios 3.6+ and Amplitude 4.0+)*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ install: Example/Podfile $(PROJECT).podspec
88
pod install --project-directory=Example
99

1010
lint:
11-
pod lib lint
11+
pod lib lint --allow-warnings
1212

1313
clean:
1414
set -o pipefail && xcodebuild $(XC_ARGS) clean | xcpretty

Segment-Amplitude.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Segment-Amplitude"
3-
s.version = "2.0.0"
3+
s.version = "2.0.1-beta"
44
s.summary = "Amplitude Integration for Segment's analytics-ios library."
55

66
s.description = <<-DESC

circle.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)