From f7051fccc8fcfd710ec63533ab5d69d1e12fd030 Mon Sep 17 00:00:00 2001 From: Danial Zahid Date: Mon, 23 Jan 2017 18:45:32 +0500 Subject: [PATCH 1/4] Automate builds --- circle.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 529edc24..d0c466b2 100644 --- a/circle.yml +++ b/circle.yml @@ -4,4 +4,10 @@ machine: test: post: - - pod lib lint \ No newline at end of file + - pod lib lint + +deployment: + release: + tag: /.*/ + commands: + - pod trunk push \ No newline at end of file From cb89e91fe5fa1a9c7d47b7abe6e1b2021bb5fc3c Mon Sep 17 00:00:00 2001 From: Danial Zahid Date: Mon, 23 Jan 2017 19:20:50 +0500 Subject: [PATCH 2/4] Remove deployment script --- circle.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/circle.yml b/circle.yml index d0c466b2..00c1b8d8 100644 --- a/circle.yml +++ b/circle.yml @@ -4,10 +4,4 @@ machine: test: post: - - pod lib lint - -deployment: - release: - tag: /.*/ - commands: - - pod trunk push \ No newline at end of file + - pod spec lint \ No newline at end of file From 7adb98bde9acf3ae1bbc3c1d7411ea257245146c Mon Sep 17 00:00:00 2001 From: Danial Zahid Date: Mon, 23 Jan 2017 19:44:54 +0500 Subject: [PATCH 3/4] Separate master and branch testing --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 00c1b8d8..e3ceb2fd 100644 --- a/circle.yml +++ b/circle.yml @@ -4,4 +4,5 @@ machine: test: post: - - pod spec lint \ No newline at end of file + - pod lib lint + - if [ $CIRCLE_BRANCH = 'master' ]; then pod spec lint; \ No newline at end of file From f337d1833fdb780f9c3ac88f63ccb3bff88f59c0 Mon Sep 17 00:00:00 2001 From: Danial Zahid Date: Mon, 23 Jan 2017 19:55:05 +0500 Subject: [PATCH 4/4] Fix bash bug --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index e3ceb2fd..0e1ccc72 100644 --- a/circle.yml +++ b/circle.yml @@ -5,4 +5,4 @@ machine: test: post: - pod lib lint - - if [ $CIRCLE_BRANCH = 'master' ]; then pod spec lint; \ No newline at end of file + - if [ "$CIRCLE_BRANCH" = 'master' ]; then pod spec lint; fi \ No newline at end of file