mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
merge release-4.7.4
4.7.4
This commit is contained in:
@ -5,6 +5,7 @@
|
|||||||
const tc = require('turbocolor');
|
const tc = require('turbocolor');
|
||||||
const execa = require('execa');
|
const execa = require('execa');
|
||||||
const Listr = require('listr');
|
const Listr = require('listr');
|
||||||
|
const path = require('path');
|
||||||
const octokit = require('@octokit/rest')()
|
const octokit = require('@octokit/rest')()
|
||||||
const common = require('./common');
|
const common = require('./common');
|
||||||
const fs = require('fs-extra');
|
const fs = require('fs-extra');
|
||||||
@ -16,6 +17,8 @@ async function main() {
|
|||||||
throw new Error('env.GH_TOKEN is undefined');
|
throw new Error('env.GH_TOKEN is undefined');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkProductionRelease();
|
||||||
|
|
||||||
const tasks = [];
|
const tasks = [];
|
||||||
const { version } = common.readPkg('core');
|
const { version } = common.readPkg('core');
|
||||||
const changelog = findChangelog();
|
const changelog = findChangelog();
|
||||||
@ -39,6 +42,15 @@ async function main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function checkProductionRelease() {
|
||||||
|
const corePath = common.projectPath('core');
|
||||||
|
const hasEsm = fs.existsSync(path.join(corePath, 'dist', 'esm'));
|
||||||
|
const hasEsmEs5 = fs.existsSync(path.join(corePath, 'dist', 'esm-es5'));
|
||||||
|
const hasCjs = fs.existsSync(path.join(corePath, 'dist', 'cjs'));
|
||||||
|
if (!hasEsm || !hasEsmEs5 || !hasCjs) {
|
||||||
|
throw new Error('core build is not a production build');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function publishGit(tasks, version, changelog) {
|
function publishGit(tasks, version, changelog) {
|
||||||
const tag = `v${version}`;
|
const tag = `v${version}`;
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,8 +1,18 @@
|
|||||||
|
## [4.7.4](https://github.com/ionic-team/ionic/compare/v4.7.3...v4.7.4) (2019-08-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **core:** remove extra semicolons being rendered ([#19033](https://github.com/ionic-team/ionic/issues/19033)) ([39f0768](https://github.com/ionic-team/ionic/commit/39f0768))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [4.7.3](https://github.com/ionic-team/ionic/compare/v4.7.2...v4.7.3) (2019-08-07)
|
## [4.7.3](https://github.com/ionic-team/ionic/compare/v4.7.2...v4.7.3) (2019-08-07)
|
||||||
|
|
||||||
* **core:** fix an issue with production builds of `@ionic/core`
|
* **core:** fix an issue with production builds of `@ionic/core`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [4.7.2](https://github.com/ionic-team/ionic/compare/v4.7.1...v4.7.2) (2019-08-07)
|
## [4.7.2](https://github.com/ionic-team/ionic/compare/v4.7.1...v4.7.2) (2019-08-07)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ionic/angular",
|
"name": "@ionic/angular",
|
||||||
"version": "4.7.3",
|
"version": "4.7.4",
|
||||||
"description": "Angular specific wrappers for @ionic/core",
|
"description": "Angular specific wrappers for @ionic/core",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ionic",
|
"ionic",
|
||||||
@ -49,7 +49,7 @@
|
|||||||
"css/"
|
"css/"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ionic/core": "4.7.3",
|
"@ionic/core": "4.7.4",
|
||||||
"tslib": "^1.9.3"
|
"tslib": "^1.9.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ionic/core",
|
"name": "@ionic/core",
|
||||||
"version": "4.7.3",
|
"version": "4.7.4",
|
||||||
"description": "Base components for Ionic",
|
"description": "Base components for Ionic",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ionic",
|
"ionic",
|
||||||
|
|||||||
@ -34,7 +34,7 @@ export class CardTitle implements ComponentInterface {
|
|||||||
[mode]: true
|
[mode]: true
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<slot></slot>;
|
<slot></slot>
|
||||||
</Host>
|
</Host>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@ export class Grid implements ComponentInterface {
|
|||||||
'grid-fixed': this.fixed
|
'grid-fixed': this.fixed
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<slot></slot>;
|
<slot></slot>
|
||||||
</Host>
|
</Host>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ionic/docs",
|
"name": "@ionic/docs",
|
||||||
"version": "4.7.3",
|
"version": "4.7.4",
|
||||||
"description": "Pre-packaged API documentation for the Ionic docs.",
|
"description": "Pre-packaged API documentation for the Ionic docs.",
|
||||||
"main": "core.json",
|
"main": "core.json",
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
Reference in New Issue
Block a user