Skip to content

Commit

Permalink
chore(): fix release date of dev releases (#17191)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Jan 21, 2019
1 parent 59bd823 commit cf9f53b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .scripts/release-dev.js
Expand Up @@ -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}`;
}
Expand Down
1 change: 0 additions & 1 deletion core/stencil.config.ts
Expand Up @@ -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',
Expand Down

0 comments on commit cf9f53b

Please sign in to comment.