We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b789f commit 7018c23Copy full SHA for 7018c23
scripts/setup_quickstart_spm.sh
@@ -138,8 +138,10 @@ update_spm_dependency() {
138
echo "Error: Could not find a 'CocoaPods-X.Y.Z' tag." >&2
139
exit 1
140
fi
141
- echo "Setting SPM dependency to latest version: ${latest_tag}"
142
- "$scripts_dir/update_firebase_spm_dependency.sh" "$absolute_project_file" --version "$latest_tag"
+ local tag_revision
+ tag_revision=$(git -C "$root_dir" rev-list -n 1 "$latest_tag")
143
+ echo "Setting SPM dependency to revision for tag ${latest_tag}: ${tag_revision}"
144
+ "$scripts_dir/update_firebase_spm_dependency.sh" "$absolute_project_file" --revision "$tag_revision"
145
;;
146
147
"${PRERELEASE_TESTING}")
0 commit comments