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();
|
||||
|
||||
let timestamp = (d.getUTCFullYear() + '');
|
||||
timestamp += ('0' + (d.getUTCMonth() + 1)).slice(-2);
|
||||
timestamp += ('0' + d.getUTCDate()).slice(-2);
|
||||
timestamp += ('0' + d.getUTCHours()).slice(-2);
|
||||
timestamp += ('0' + d.getUTCMinutes()).slice(-2);
|
||||
let timestamp = d.getUTCFullYear().toString();
|
||||
timestamp += (d.getUTCMonth() + 1).toString().padStart(2, '0');
|
||||
timestamp += d.getUTCDate().toString().padStart(2, '0');
|
||||
timestamp += d.getUTCHours().toString().padStart(2, '0');
|
||||
timestamp += d.getUTCMinutes().toString().padStart(2, '0');
|
||||
|
||||
return `${baseVersion}-${DIST_TAG}.${timestamp}.${shortSha}`;
|
||||
}
|
||||
|
@ -79,7 +79,6 @@ export const config: Config = {
|
||||
},
|
||||
{
|
||||
type: 'angular',
|
||||
useDirectives: false,
|
||||
componentCorePackage: '@ionic/core',
|
||||
directivesProxyFile: '../angular/src/directives/proxies.ts',
|
||||
directivesUtilsFile: '../angular/src/directives/proxies-utils.ts',
|
||||
|
Reference in New Issue
Block a user