Skip to content

Commit 55d2b06

Browse files
authored
manually bump the version to 4.4 in readme and fixed the publish script (#671)
1 parent d957778 commit 55d2b06

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ You just need to include the following script and CSS file in the `<head>` tag
6161
of your page, below the initialization snippet from the Firebase Console:
6262

6363
```html
64-
<script src="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth.js"></script>
65-
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth.css" />
64+
<script src="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.js"></script>
65+
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.css" />
6666
```
6767

6868
#### Localized Widget
@@ -71,17 +71,17 @@ Localized versions of the widget are available through the CDN. To use a localiz
7171
localized JS library instead of the default library:
7272

7373
```html
74-
<script src="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth__{LANGUAGE_CODE}.js"></script>
75-
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth.css" />
74+
<script src="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth__{LANGUAGE_CODE}.js"></script>
75+
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.css" />
7676
```
7777

7878
where `{LANGUAGE_CODE}` is replaced by the code of the language you want. For example, the French
7979
version of the library is available at
80-
`https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth__fr.js`. The list of available
80+
`https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth__fr.js`. The list of available
8181
languages and their respective language codes can be found at [LANGUAGES.md](LANGUAGES.md).
8282

8383
Right-to-left languages also require the right-to-left version of the stylesheet, available at
84-
`https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth-rtl.css`, instead of the default
84+
`https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth-rtl.css`, instead of the default
8585
stylesheet. The supported right-to-left languages are Arabic (ar), Farsi (fa), and Hebrew (iw).
8686

8787
### Option 2: npm Module
@@ -1179,8 +1179,8 @@ FirebaseUI is displayed.
11791179
* TODO(DEVELOPER): Paste the initialization snippet from:
11801180
* Firebase Console > Overview > Add Firebase to your web app. *
11811181
***************************************************************************************** -->
1182-
<script src="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth.js"></script>
1183-
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.3.0/firebase-ui-auth.css" />
1182+
<script src="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.js"></script>
1183+
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.css" />
11841184
<script type="text/javascript">
11851185
// FirebaseUI config.
11861186
var uiConfig = {

buildtools/publish.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,14 @@ echo "Published to npm."
138138

139139
echo "Bumping version numbers in README..."
140140
sed -i "s/firebasejs\/ui\/${CURRENT_VERSION}/firebasejs\/ui\/${NEW_VERSION}/g" README.md
141+
git add README.md
141142
echo "Bumped version numbers in README."
142143

143144
echo "Cleaning up release notes..."
144145
rm CHANGELOG.md
145146
touch CHANGELOG.md
146-
git commit -m "[firebase-release] Removed change log and reset repo after ${NEW_VERSION} release" CHANGELOG.md
147+
git add CHANGELOG.md
148+
git commit -m "[firebase-release] Removed change log and reset repo after ${NEW_VERSION} release"
147149
echo "Cleaned up release notes."
148150

149151
echo "Pushing to GitHub..."

0 commit comments

Comments
 (0)