Skip to content

Commit e9ef78d

Browse files
committed
chore(release): v1.0.0-beta.4
1 parent 07ae6dc commit e9ef78d

File tree

3 files changed

+55
-12
lines changed

3 files changed

+55
-12
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
<a name="1.0.0-beta.4"></a>
2+
### 1.0.0-beta.4 "americium" (2014-05-07)
3+
4+
5+
#### Bug Fixes
6+
7+
* **.pane:** Remove overflow:hidden from .pane,.view ([64f0030b](https://github.com/driftyco/ionic/commit/64f0030b99ba83772d698252470894740e270f9b))
8+
* **.tabs-icon-*:** only work on directly descendant tabs ([77f26831](https://github.com/driftyco/ionic/commit/77f268312468b8272d009bd68b2e408316e00dc0), closes [#1261](https://github.com/driftyco/ionic/issues/1261))
9+
* **bar:** properly align titles if switching to view with no buttons ([ade143ed](https://github.com/driftyco/ionic/commit/ade143ed35a4a17e5ffffaec17b5529eae3b1dde), closes [#1242](https://github.com/driftyco/ionic/issues/1242))
10+
* **collectionRepeat:** correctly save user scroll position on back ([0a640758](https://github.com/driftyco/ionic/commit/0a640758842d4307dba43aa702fe8d9dc17b164a))
11+
* **ionItem:** fix error when repeating ([f370db45](https://github.com/driftyco/ionic/commit/f370db45bc9cce3aee3d8b3dccad6f38dd203a20))
12+
* **ionSlideBox:**
13+
* fix disable-scroll attr, deprecate in favor of $ionicSlideBoxDelegate.enableSlide(true/false) ([1bdb5e8d](https://github.com/driftyco/ionic/commit/1bdb5e8d9f1798fcd0acbf7cce6bd7b6166a0096), closes [#1113](https://github.com/driftyco/ionic/issues/1113))
14+
* prevent NPE during drag ([920dc59d](https://github.com/driftyco/ionic/commit/920dc59d75acdcc0a109a6731088b3d3cff09d85), closes [#1240](https://github.com/driftyco/ionic/issues/1240))
15+
* **modal:** Remove modal flicker, closes #1150 ([d2ebed84](https://github.com/driftyco/ionic/commit/d2ebed847e0214e4654337947c8d3c15ee7c87f9))
16+
* **scrollView:** recalculate size on mousewheel scroll ([89a9ed15](https://github.com/driftyco/ionic/commit/89a9ed1547010d90591798625eeaea973aaf6c20))
17+
* **select:** Select options w/ mouse events, closes #1251 ([e3306293](https://github.com/driftyco/ionic/commit/e3306293cc62ff9ef931b4dc6d0b76c61ab247a2))
18+
* **tap:** input[file] clicks within ion-content, closes #1237 ([05a6d7cc](https://github.com/driftyco/ionic/commit/05a6d7cca660e7f5b3b2ee4b5698dfb33df7b605))
19+
* **toggle:** Right side padding for item-complex, closes #1091 ([45106a6a](https://github.com/driftyco/ionic/commit/45106a6acfedf8b77a0f46d9f0b1b35e4a76c548))
20+
* **transitions:** Disable transitions on Android 2, closes #780 ([9c58d47b](https://github.com/driftyco/ionic/commit/9c58d47b2b7c4d5695c1eb1b2ee7d23555ae0137))
21+
* **viewport:**
22+
* Auto update viewport tag ([5f8e9040](https://github.com/driftyco/ionic/commit/5f8e9040bd8eb8dfef0db5bfef9275ef4a51f0da))
23+
* Remove height value on iOS browser ([0ad10ede](https://github.com/driftyco/ionic/commit/0ad10edefcdcc67d20fb837f635609974af5dbd7))
24+
25+
26+
#### Features
27+
28+
* **$ionicLoading:** on android, no back button action while loading ([fc8711c7](https://github.com/driftyco/ionic/commit/fc8711c7d000d06bfc30fcf813b2b9e26c228be5), closes [#1273](https://github.com/driftyco/ionic/issues/1273))
29+
* **$ionicModal:** close on backdrop click on desktop/tablet ([554c4398](https://github.com/driftyco/ionic/commit/554c43980e555d4506b4035ed100aca22c51da0c), closes [#1087](https://github.com/driftyco/ionic/issues/1087))
30+
* **ionNavBar:** allow navbar inside ion-view to transition whole bar ([42177c3b](https://github.com/driftyco/ionic/commit/42177c3b939f6fd2dafb7b6c30bce4ef31540411), closes [#1232](https://github.com/driftyco/ionic/issues/1232))
31+
* **sideMenu:** make android back button close side menu ([10103559](https://github.com/driftyco/ionic/commit/101035593f520ded77d61013d0330f537d270168), closes [#1264](https://github.com/driftyco/ionic/issues/1264))
32+
33+
134
<a name="1.0.0-beta.3"></a>
235
### 1.0.0-beta.3 "americium" (2014-04-30)
336

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "ionic",
33
"private": false,
4-
"version": "1.0.0-beta.3",
4+
"version": "1.0.0-beta.4",
55
"codename": "americium",
6-
"changelog": "http://git.io/wliUjg",
76
"repository": {
87
"url": "git://github.com/driftyco/ionic.git"
98
},

scripts/travis/release-new-version.sh

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function push {
3535
# Get first codename in list
3636
CODENAME=$(cat config/CODENAMES | head -n 1)
3737
# Remove first line of codenames, it's used now
38-
sed -i '' 1d config/CODENAMES
38+
echo $(cat config/CODENAMES | tail -n +2) > config/CODENAMES
3939

4040
replaceJsonProp "bower.json" "version" "$VERSION"
4141
replaceJsonProp "component.json" "version" "$VERSION"
@@ -59,8 +59,8 @@ function push {
5959
}
6060

6161
function github {
62-
echo "-- Pushing out github release..."
63-
62+
echo "-- Pushing out github release..."
63+
6464
# Get only newest things in changelog - sed until previous version is hit
6565
sed -e '/'"$OLD_VERSION"'/,$d' $PROJECT_DIR/CHANGELOG.md | tail -n +3 \
6666
> $TMP_DIR/CHANGELOG_NEW.md
@@ -71,21 +71,32 @@ function github {
7171
curl https://api.github.com/repos/$GH_ORG/ionic/releases > $TMP_DIR/releases.json
7272

7373
node -e "var releases = require('$TMP_DIR/releases.json'); \
74+
var id; \
7475
releases.forEach(function(r) { \
7576
if (r.tag_name == 'v$VERSION') { \
76-
require('fs').writeFileSync('$TMP_DIR/RELEASE_ID', r.id); \
77+
id = r.id; \
7778
} \
78-
});"
79-
RELEASE_ID=$(cat $TMP_DIR/RELEASE_ID)
79+
}); \
80+
require('fs').writeFileSync('$TMP_DIR/RELEASE_ID', id || '');"
8081

81-
node -e "require('fs').writeFileSync('$TMP_DIR/github.json', JSON.stringify({ \
82+
node -e "var fs = require('fs'); \
83+
fs.writeFileSync('$TMP_DIR/github.json', JSON.stringify({ \
8284
name: \"v$VERSION '$CODENAME'\", \
85+
tag_name: \"v$VERSION\", \
8386
body: fs.readFileSync('$TMP_DIR/CHANGELOG_NEW.md').toString() \
8487
}));"
8588

86-
curl -X PATCH https://api.github.com/repos/$GH_ORG/ionic/releases/$RELEASE_ID \
87-
-H "Authorization: token $GH_TOKEN" \
88-
--data-binary @$TMP_DIR/github.json
89+
RELEASE_ID=$(cat $TMP_DIR/RELEASE_ID)
90+
if [[ "$RELEASE_ID" == "" ]]; then
91+
curl -X POST https://api.github.com/repos/$GH_ORG/ionic/releases \
92+
-H "Authorization: token $GH_TOKEN" \
93+
--data-binary @$TMP_DIR/github.json
94+
else
95+
curl -X PATCH https://api.github.com/repos/$GH_ORG/ionic/releases/$RELEASE_ID \
96+
-H "Authorization: token $GH_TOKEN" \
97+
--data-binary @$TMP_DIR/github.json
98+
fi
99+
89100

90101
echo "-- Github release pushed out successfully!"
91102
}

0 commit comments

Comments
 (0)