mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
chore(): fix release date of dev releases (#17191)
This commit is contained in:
@ -90,11 +90,11 @@ async function getDevVersion(originalVersion) {
|
|||||||
|
|
||||||
const d = new Date();
|
const d = new Date();
|
||||||
|
|
||||||
let timestamp = (d.getUTCFullYear() + '');
|
let timestamp = d.getUTCFullYear().toString();
|
||||||
timestamp += ('0' + (d.getUTCMonth() + 1)).slice(-2);
|
timestamp += (d.getUTCMonth() + 1).toString().padStart(2, '0');
|
||||||
timestamp += ('0' + d.getUTCDate()).slice(-2);
|
timestamp += d.getUTCDate().toString().padStart(2, '0');
|
||||||
timestamp += ('0' + d.getUTCHours()).slice(-2);
|
timestamp += d.getUTCHours().toString().padStart(2, '0');
|
||||||
timestamp += ('0' + d.getUTCMinutes()).slice(-2);
|
timestamp += d.getUTCMinutes().toString().padStart(2, '0');
|
||||||
|
|
||||||
return `${baseVersion}-${DIST_TAG}.${timestamp}.${shortSha}`;
|
return `${baseVersion}-${DIST_TAG}.${timestamp}.${shortSha}`;
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,6 @@ export const config: Config = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'angular',
|
type: 'angular',
|
||||||
useDirectives: false,
|
|
||||||
componentCorePackage: '@ionic/core',
|
componentCorePackage: '@ionic/core',
|
||||||
directivesProxyFile: '../angular/src/directives/proxies.ts',
|
directivesProxyFile: '../angular/src/directives/proxies.ts',
|
||||||
directivesUtilsFile: '../angular/src/directives/proxies-utils.ts',
|
directivesUtilsFile: '../angular/src/directives/proxies-utils.ts',
|
||||||
|
Reference in New Issue
Block a user