Skip to content

Commit

Permalink
Upgraded Highcharts JS library to v5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
miloschuman committed Nov 16, 2016
1 parent bbb8e01 commit 911c8bb
Show file tree
Hide file tree
Showing 134 changed files with 15,153 additions and 93,953 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,8 +1,11 @@
Yii2 Highcharts Changelog
=========================

### [v5.0.2](https://github.com/miloschuman/yii2-highcharts/releases/tag/v5.0.2) (2016-11-16) ###
* Upgraded Highcharts JS library to the latest release (5.0.2). See the Highcharts [changelog](http://highcharts.com/documentation/changelog) for more information about what's new in this version.

### [v5.0.0](https://github.com/miloschuman/yii2-highcharts/releases/tag/v5.0.0) (2016-10-03) ###
* Upgraded Highcharts JS library to the latest release (5.0.0). See the Highcharts [changelog](http://highcharts.com/documentation/changelog) for more information about what's new in this version.
* Upgraded Highcharts JS library to the latest release (5.0.0).

### [v4.2.6](https://github.com/miloschuman/yii2-highcharts/releases/tag/v4.2.6) (2016-08-07) ###
* Upgraded Highcharts JS library to the latest release (4.2.6).
Expand Down
15 changes: 6 additions & 9 deletions build/release.php
Expand Up @@ -14,7 +14,6 @@ function exclaim($msg)
date_default_timezone_set('America/New_York');
$date = date('Y-m-d');


/* Get version number of latest releases */
$products = file_get_contents('http://code.highcharts.com/products.js');
preg_match_all('/\d\.\d+\.\d+/', $products, $matches);
Expand Down Expand Up @@ -42,22 +41,21 @@ function exclaim($msg)
wget http://code.highcharts.com/zips/Highcharts-$ver.zip
wget http://code.highcharts.com/zips/Highstock-$stockVer.zip
wget http://code.highcharts.com/zips/Highmaps-$mapsVer.zip
unzip Highcharts-$ver.zip js/\*
unzip -n Highstock-$stockVer.zip js/\*
unzip -n Highmaps-$mapsVer.zip js/\*
mv js/* .
rmdir js
unzip Highcharts-$ver.zip code/\*
unzip -n Highstock-$stockVer.zip code/\*
unzip -n Highmaps-$mapsVer.zip code/\*
mv code/* .
rm -fr code/ js/ readme.txt
rm *.zip
`;

exclaim("Purging extraneous assets");
echo `rm -rfv parts* *debug* .htaccess`;


exclaim("Creating missing src files");
echo `
for file in $(find . -name '*.js' ! -name '*.src.js'); do
cp -nv "\$file" \${file%.js}.src.js
cp -nv "\$file" \${file%.js}.src.js
done
`;

Expand All @@ -71,6 +69,5 @@ function exclaim($msg)
$contents = str_replace('=========================', "=========================\n\n$changelogEntry", $contents);
file_put_contents($fileName, $contents);


exclaim("Done, bitch!");
exclaim("Don't forget to UPDATE README.md!");
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -4,7 +4,6 @@
"keywords": ["yii2", "extension", "widget", "highcharts", "highstock", "highmaps"],
"homepage": "https://github.com/miloschuman/yii2-highcharts",
"type": "yii2-extension",
"license": "MIT",
"authors": [
{
"name": "Milo Schuman",
Expand Down

0 comments on commit 911c8bb

Please sign in to comment.