Skip to content

Commit

Permalink
Update tooling references to Invoker
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Sep 24, 2020
1 parent f988d13 commit 85cd16a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update-project-references.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ VERSION=$(grep '<Version>.*</Version>' src/CommonProperties.xml | sed -e 's/<\/

for proj in $(find src/Google.Cloud.Functions.Templates/templates -name '*proj')
do
sed -i -e "s/Include=\"Google.Cloud.Functions.Invoker\" Version=\".*\"/Include=\"Google.Cloud.Functions.Invoker\" Version=\"$VERSION\"/g" $proj
sed -i -e "s/Include=\"Google.Cloud.Functions.Hosting\" Version=\".*\"/Include=\"Google.Cloud.Functions.Hosting\" Version=\"$VERSION\"/g" $proj
done

for proj in $(find examples -name '*proj')
do
sed -i -e "s/Include=\"Google.Cloud.Functions.Invoker\" Version=\".*\"/Include=\"Google.Cloud.Functions.Invoker\" Version=\"$VERSION\"/g" $proj
sed -i -e "s/Include=\"Google.Cloud.Functions.Invoker.Testing\" Version=\".*\"/Include=\"Google.Cloud.Functions.Invoker.Testing\" Version=\"$VERSION\"/g" $proj
sed -i -e "s/Include=\"Google.Cloud.Functions.Hosting\" Version=\".*\"/Include=\"Google.Cloud.Functions.Hosting\" Version=\"$VERSION\"/g" $proj
sed -i -e "s/Include=\"Google.Cloud.Functions.Testing\" Version=\".*\"/Include=\"Google.Cloud.Functions.Testing\" Version=\"$VERSION\"/g" $proj
done

0 comments on commit 85cd16a

Please sign in to comment.