File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,14 @@ function run {
24
24
--branch gh-pages
25
25
26
26
cd $IONIC_SITE_DIR
27
+ git reset --hard origin/gh-pages
27
28
28
- $( replaceInFile " _config.yml" " latest_download:.*" " latest_download: http:/ /code.ionicframework.com/$VERSION /ionic-v$VERSION .zip" )
29
- $( replaceInFile " _config.yml" " latest_version:.*" " latest_version: $VERSION \" $CODENAME \" " )
30
- $( replaceInFile " _config.yml" " latest_release_date:.*" " latest_release_date: $DATE " )
29
+ $( replaceInFile " _config.yml" " latest_download:.*$ " " latest_download: http:\/\ /code.ionicframework.com\ /$VERSION \ /ionic-v$VERSION .zip" )
30
+ $( replaceInFile " _config.yml" " latest_version:.*$ " " latest_version: $VERSION \" $CODENAME \" " )
31
+ $( replaceInFile " _config.yml" " latest_release_date:.*$ " " latest_release_date: $DATE " )
31
32
32
33
git add -A
33
- git commit -am " release: $VERSION ( $VERSION_LABEL ) "
34
+ git commit -am " release: $VERSION "
34
35
35
36
git push -q origin gh-pages
36
37
You can’t perform that action at this time.
0 commit comments