File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,9 @@ function run {
97
97
./scripts/seed/publish.sh --version=" $VERSION "
98
98
./scripts/app-base/publish.sh --version=" $VERSION "
99
99
100
- gulp release-tweet release-irc
100
+ ./scripts/travis/release-new-version.sh \
101
+ --action=" tweetAndIrc"
102
+ --version=$VERSION
101
103
else
102
104
./scripts/site/publish.sh --action=" clone"
103
105
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ function github {
65
65
sed -e ' /' " $OLD_VERSION " ' /,$d' $PROJECT_DIR /CHANGELOG.md | tail -n +3 \
66
66
> $TMP_DIR /CHANGELOG_NEW.md
67
67
68
- CODENAME=$( readJsonProp " $PROJECT_DIR /package.json" " codename" )
68
+ CODENAME=$( readJsonProp " $IONIC_DIR /package.json" " codename" )
69
69
70
70
# we have to get all releases, then find the one corresponding to this new tag
71
71
curl https://api.github.com/repos/$GH_ORG /ionic/releases > $TMP_DIR /releases.json
@@ -102,7 +102,7 @@ function github {
102
102
}
103
103
104
104
function discourse {
105
- CODENAME=$( readJsonProp " $PROJECT_DIR /package.json" " codename" )
105
+ CODENAME=$( readJsonProp " $IONIC_DIR /package.json" " codename" )
106
106
# Get only newest things in changelog - sed until previous version is hit
107
107
sed -e ' /' " $OLD_VERSION " ' /,$d' $PROJECT_DIR /CHANGELOG.md | tail -n +3 \
108
108
> $TMP_DIR /NEW_CHANGELOG.md
@@ -141,4 +141,9 @@ function discourse {
141
141
git push -q origin master
142
142
}
143
143
144
+ function tweetAndIrc {
145
+ cd $IONIC_DIR
146
+ gulp release-tweet release-irc
147
+ }
148
+
144
149
source $( dirname $0 ) /../utils.inc
You can’t perform that action at this time.
0 commit comments