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 6704efb commit 88972ecCopy full SHA for 88972ec
buildtools/publish.sh
@@ -118,6 +118,7 @@ echo "Running npm install..."
118
npm install
119
echo "Ran npm install."
120
121
+CURRENT_VERSION=$(jq -r ".version" package.json)
122
echo "Making a $VERSION version..."
123
npm version $VERSION
124
NEW_VERSION=$(jq -r ".version" package.json)
@@ -135,6 +136,10 @@ echo "Publishing to npm..."
135
136
npm publish
137
echo "Published to npm."
138
139
+echo "Bumping version numbers in README..."
140
+sed -i "s/firebasejs\/ui\/${CURRENT_VERSION}/firebasejs\/ui\/${NEW_VERSION}/g" README.md
141
+echo "Bumped version numbers in README."
142
+
143
echo "Cleaning up release notes..."
144
rm CHANGELOG.md
145
touch CHANGELOG.md
0 commit comments