File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ export default async function main() {
5858 . command ( "release" )
5959 . description ( "Release." )
6060 . action ( async ( options : any ) => {
61- consola . error ( "The release not yet implemented" ) ;
62-
61+ // consola.error("The release not yet implemented");
6362 process . env . NODE_ENV = "production" ;
6463 const config = await Config . loadConfig ( { } ) ;
6564 new Release ( config ) . run ( ) ;
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ export default class Release extends Base {
2828 * then, create or update release (tag is "release"), update `update.json`.
2929 */
3030 async run ( ) {
31+ const t = new Date ( ) ;
32+
3133 if ( ! this . isCI ) {
3234 this . bump ( ) ;
3335 } else {
@@ -39,6 +41,10 @@ export default class Release extends Base {
3941 this . uploadXPI ( ) ;
4042 this . uploadUpdateJSON ( ) ;
4143 }
44+
45+ this . logger . success (
46+ `Done in ${ ( new Date ( ) . getTime ( ) - t . getTime ( ) ) / 1000 } s.` ,
47+ ) ;
4248 }
4349
4450 /**
You can’t perform that action at this time.
0 commit comments