Skip to content

Commit 73d74f1

Browse files
committed
CircleCI: Publish pods when the repo is tagged
1 parent 246ccf1 commit 73d74f1

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
orbs:
44
# This uses the iOS Orb located at https://github.com/wordpress-mobile/circleci-orbs
5-
ios: wordpress-mobile/ios@0.0.32
5+
ios: wordpress-mobile/ios@0.0.35
66

77
workflows:
88
test_and_validate:
@@ -30,3 +30,26 @@ workflows:
3030
podspec-path: WordPress-Editor-iOS.podspec
3131
# Updating specs is needed since WordPress-Editor-iOS depends on WordPress-Aztec-iOS
3232
update-specs-repo: true
33+
34+
- ios/publish-podspec:
35+
name: Publish WordPress-Aztec-iOS to Trunk
36+
xcode-version: "11.0"
37+
podspec-path: WordPress-Aztec-iOS.podspec
38+
post-to-slack: true
39+
filters:
40+
tags:
41+
only: /.*/
42+
branches:
43+
ignore: /.*/
44+
45+
- ios/publish-podspec:
46+
name: Publish WordPress-Editor-iOS to Trunk
47+
requires: [ "Publish WordPress-Aztec-iOS to Trunk" ]
48+
xcode-version: "11.0"
49+
podspec-path: WordPress-Editor-iOS.podspec
50+
post-to-slack: true
51+
filters:
52+
tags:
53+
only: /.*/
54+
branches:
55+
ignore: /.*/

0 commit comments

Comments
 (0)