Skip to content

Commit c9702bb

Browse files
committed
Merge branch 'release/3.15.9'
2 parents 1fddb38 + a722872 commit c9702bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3137
-2612
lines changed

NEWS

Lines changed: 0 additions & 703 deletions
This file was deleted.

NEWS.md

Lines changed: 827 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
CartoDB.js (v3.15)
22
===========
33

4-
[![Build Status](http://clinker.cartodb.net/desktop/plugin/public/status/CartoDB-js-develop-testing)]
5-
(http://clinker.cartodb.net/jenkins/job/CartoDB-js-develop-testing)
6-
74
This library allows to embed visualizations created with CartoDB in your map or website in a simple way.
85

96

RELEASING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- Create a new branch to prepare the release:
1414

1515
```
16-
git flow release start 3.15.4
16+
git flow release start 3.15.9
1717
```
1818

1919
- Build CartoDB.js files, choosing the new version:
@@ -25,7 +25,7 @@ grunt release
2525
- Update the NEWS file and commit the changes. Take into account that new CartoDB.js version will be replaced in ```API.md```, ```RELEASING.md```, ```README.md```, ```package.json```, ```cartodb.js``` and ```examples``` files.
2626

2727
```
28-
git commit -am "Files changed for version 3.15.4"
28+
git commit -am "Files changed for version 3.15.9"
2929
```
3030

3131
- Release it.
@@ -36,17 +36,17 @@ grunt publish
3636

3737
- Check if those files have been updated in the CDN:
3838
```
39-
http://libs.cartocdn.com.s3.amazonaws.com/cartodb.js/v3/3.15.4/cartodb.js
40-
http://libs.cartocdn.com/cartodb.js/v3/3.15.4/cartodb.js
41-
http://libs.cartocdn.com.s3.amazonaws.com/cartodb.js/v3/3.13/cartodb.js
42-
http://libs.cartocdn.com/cartodb.js/v3/3.13/cartodb.js
39+
http://libs.cartocdn.com.s3.amazonaws.com/cartodb.js/v3/3.15.9/cartodb.js
40+
http://libs.cartocdn.com/cartodb.js/v3/3.15.9/cartodb.js
41+
http://libs.cartocdn.com.s3.amazonaws.com/cartodb.js/v3/3.15/cartodb.js
42+
http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js
4343
```
4444
- Sometimes It takes more than 10 minutes, if it is not updated, execute ```grunt invalidate```.
4545

4646
- And to finish: close the release and push it.
4747

4848
```
49-
git flow release finish 3.15.4
49+
git flow release finish 3.15.9
5050
git push --all
5151
git push --tags
5252
```
@@ -75,7 +75,7 @@ grunt
7575
grunt publish
7676
```
7777

78-
For example, if we are in 3.15.4 and we want to go back to 3.13.4
78+
For example, if we are in 3.15.9 and we want to go back to 3.13.4
7979

8080
```
8181
git checkout 3.13.4

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cartodb.js",
55
"themes/css/cartodb.css"
66
],
7-
"version": "3.15.1",
7+
"version": "3.15.9",
88
"homepage": "https://github.com/CartoDB/cartodb.js",
99
"authors": [
1010
"CartoDB <support@cartodb.com>"

bower.sh

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ ORG=CartoDB
1010
REPO=cartodb.js-bower
1111

1212
# prepare repo folder
13-
if [ -d $REPO ]
14-
then
15-
rm -rf $REPO
13+
if [ -d $REPO ]; then
14+
rm -rf $REPO
1615
fi
1716

1817
# clone repo
@@ -32,17 +31,21 @@ cp -R bower.json $REPO/bower.json
3231

3332
cp -R LICENSE $REPO/LICENSE.md
3433

35-
# commit and tag repo
36-
echo "-- Committing and tagging $REPO"
3734
cd $REPO
3835
git add -A
39-
CARTODBJS_VER=$(git diff bower.json | grep version | cut -d':' -f2 | cut -d'"' -f2 | sort -g -r | head -1) && if [ $(echo $CARTODBJS_VER | wc -m | tr -d ' ') = '1' ]; then echo 'VERSION DID NOT CHANGE'; else git tag -a $CARTODBJS_VER -m "Version $CARTODBJS_VER"; fi
40-
git tag -a $CARTODBJS_VER -m "Version $CARTODBJS_VER"
41-
git commit -m "v$CARTODBJS_VER"
4236

43-
echo "-- Pushing $REPO"
44-
git push -fq origin master
45-
git push -fq origin --tags
37+
NEW_VERSION=$(git diff origin/master bower.json | grep version | cut -d':' -f2 | cut -d'"' -f2 | sort -g -r | head -1)
38+
if [ -z "$NEW_VERSION" ]; then
39+
echo 'VERSION DID NOT CHANGE'
40+
else
41+
echo "-- Tagging $NEW_VERSION"
42+
git tag -a $NEW_VERSION -m "Version $NEW_VERSION";
43+
git commit -m "v$NEW_VERSION"
44+
45+
echo "-- Pushing $REPO"
46+
git push -fq origin master
47+
git push -fq origin --tags
48+
fi
4649

4750
cd ..
4851

0 commit comments

Comments
 (0)