Skip to content

Commit 7018c23

Browse files
committed
almost done
1 parent f4b789f commit 7018c23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/setup_quickstart_spm.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ update_spm_dependency() {
138138
echo "Error: Could not find a 'CocoaPods-X.Y.Z' tag." >&2
139139
exit 1
140140
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"
141+
local tag_revision
142+
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"
143145
;;
144146

145147
"${PRERELEASE_TESTING}")

0 commit comments

Comments
 (0)