Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit f22f2bf

Browse files
committed
Update a8c-ci-toolkit to workaround CocoaPods issue
1 parent 771ac86 commit f22f2bf

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.buildkite/pipeline.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nodes with values to reuse in the pipeline.
22
common_params:
33
plugins: &common_plugins
4-
- automattic/a8c-ci-toolkit#2.13.0
4+
- automattic/a8c-ci-toolkit#3.0.1
55
env: &common_env
66
IMAGE_ID: xcode-15.0.1
77

@@ -12,11 +12,10 @@ steps:
1212
########################
1313
- label: "🔬 Validate Swift Package"
1414
key: "test"
15-
command: |
16-
validate_swift_package
15+
command: validate_swift_package
1716
env: *common_env
1817
plugins: *common_plugins
19-
artifact_paths:
18+
artifact_paths:
2019
- .build/logs/*.log
2120
- .build/derived-data/Logs/**/*.xcactivitylog
2221

@@ -25,13 +24,7 @@ steps:
2524
#################
2625
- label: "🔬 Validate Podspec"
2726
key: "validate"
28-
command: |
29-
# validate_podspec
30-
echo '+++ ⚠️ validate_podspec was bypassed ⚠️'
31-
# post a message in the logs
32-
cat .buildkite/validate_podspec_annotation.md
33-
# and also as an annotation
34-
cat .buildkite/validate_podspec_annotation.md | buildkite-agent annotate --style 'warning'
27+
command: validate_podspec --patch-cocoapods
3528
env: *common_env
3629
plugins: *common_plugins
3730
artifact_paths: ".build/logs/*.log"
@@ -41,8 +34,7 @@ steps:
4134
#################
4235
- label: "🧹 Lint"
4336
key: "lint"
44-
command: |
45-
lint_pod
37+
command: lint_pod
4638
env: *common_env
4739
plugins: *common_plugins
4840

@@ -51,8 +43,7 @@ steps:
5143
#################
5244
- label: "⬆️ Publish Podspec"
5345
key: "publish"
54-
command: |
55-
.buildkite/publish-pod.sh
46+
command: .buildkite/publish-pod.sh
5647
env: *common_env
5748
plugins: *common_plugins
5849
depends_on:

.buildkite/publish-pod.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ echo "--- :rubygems: Setting up Gems"
88
install_gems
99

1010
echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"
11-
publish_pod $PODSPEC_PATH
11+
publish_pod --patch-cocoapods $PODSPEC_PATH
1212

1313
echo "--- :cocoapods: Publishing Pod to WP Specs Repo"
14-
publish_private_pod $PODSPEC_PATH $SPECS_REPO "$SPEC_REPO_PUBLIC_DEPLOY_KEY"
14+
publish_private_pod --patch-cocoapods $PODSPEC_PATH $SPECS_REPO "$SPEC_REPO_PUBLIC_DEPLOY_KEY"
1515

1616
echo "--- :slack: Notifying Slack"
17-
slack_notify_pod_published $PODSPEC_PATH $SLACK_WEBHOOK
17+
slack_notify_pod_published $PODSPEC_PATH "$SLACK_WEBHOOK"

0 commit comments

Comments
 (0)