File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,8 @@ let package = Package(
143
143
. package (
144
144
name: " GoogleAppMeasurement " ,
145
145
url: " https://github.com/google/GoogleAppMeasurement.git " ,
146
+ // Please keep the version specification aligned with
147
+ // scripts/setup_spm_test_app_measurement.sh.
146
148
. exact( " 8.3.1 " )
147
149
) ,
148
150
. package (
Original file line number Diff line number Diff line change @@ -648,6 +648,7 @@ case "$product-$platform-$method" in
648
648
649
649
# Note that the combine tests require setting the minimum iOS and tvOS version to 13.0
650
650
* -* -spm)
651
+ " ${scripts_dir} /setup_spm_test_app_measurement.sh"
651
652
RunXcodebuild \
652
653
-scheme $product \
653
654
" ${xcb_flags[@]} " \
@@ -657,6 +658,7 @@ case "$product-$platform-$method" in
657
658
;;
658
659
659
660
* -* -spmbuildonly)
661
+ " ${scripts_dir} /setup_spm_test_app_measurement.sh"
660
662
RunXcodebuild \
661
663
-scheme $product \
662
664
" ${xcb_flags[@]} " \
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+
18
+ # Point SPM CI to the tip of main of https://github.com/google/GoogleAppMeasurement
19
+ # so that the release process can defer publish the GoogleAppMeasurement tag
20
+ # until after testing.
21
+
22
+ # For example: Change `.exact("8.3.1")` to `.branch("main")`
23
+
24
+ sed -i ' ' ' s#exact("[0-9.]*#branch("main#' Package.swift
You can’t perform that action at this time.
0 commit comments