@@ -219,43 +219,43 @@ registryTask(__filename, 'release', async () => {
219
219
// await registryChangelog(__filename);
220
220
const { masterTag } = getVersion ( ) ;
221
221
222
- await registryBuild ( __filename ) ;
222
+ // await registryBuild(__filename);
223
223
224
- await registryCheck ( __filename ) ;
224
+ // await registryCheck(__filename);
225
225
226
- await registryTask ( __filename , 'release check' , async ( ) => {
227
- await registryCheckSass ( __filename ) ;
228
- await registryTask ( __filename , 'check git tag' , checkTags ) ;
229
- await registryTask ( __filename , 'check build outputs' , checkFiles ) ;
230
- } ) ;
231
- await registryTask ( __filename , 'publish to npm' , async ( ) => {
232
- const { version } = getVersion ( ) ;
233
- const versionTag = version . match ( / [ a - z ] + / ) ?. [ 0 ] ;
234
- const distTag : string =
235
- ARGV . tag ||
236
- versionTag ||
237
- (
238
- await inquirer . prompt ( {
239
- name : 'tag' ,
240
- type : 'list' ,
241
- choices : [ 'latest' , 'next' , 'beta' ] ,
242
- default : 0 ,
243
- message : 'publish dist-tags:' ,
244
- } )
245
- ) . tag ;
246
- await registryTask ( __filename , 'publish next to npm' , publishNpm . bind ( undefined , distTag ) ) ;
247
- await registryTask (
248
- __filename ,
249
- 'publish next-docs to npm' ,
250
- publishNpmForDocs . bind ( undefined , distTag ) ,
251
- ( ) => {
252
- fs . removeSync ( NEXT_DOCS_PATH ) ;
253
- }
254
- ) ;
255
- await registryTask ( __filename , 'tnpm sync' , ( ) => {
256
- execSync ( 'tnpm' , [ 'sync' , '@alifd/next' , NEXT_DOCS_NAME ] ) ;
257
- } ) ;
258
- } ) ;
226
+ // await registryTask(__filename, 'release check', async () => {
227
+ // await registryCheckSass(__filename);
228
+ // await registryTask(__filename, 'check git tag', checkTags);
229
+ // await registryTask(__filename, 'check build outputs', checkFiles);
230
+ // });
231
+ // await registryTask(__filename, 'publish to npm', async () => {
232
+ // const { version } = getVersion();
233
+ // const versionTag = version.match(/[a-z]+/)?.[0];
234
+ // const distTag: string =
235
+ // ARGV.tag ||
236
+ // versionTag ||
237
+ // (
238
+ // await inquirer.prompt({
239
+ // name: 'tag',
240
+ // type: 'list',
241
+ // choices: ['latest', 'next', 'beta'],
242
+ // default: 0,
243
+ // message: 'publish dist-tags:',
244
+ // })
245
+ // ).tag;
246
+ // await registryTask(__filename, 'publish next to npm', publishNpm.bind(undefined, distTag));
247
+ // await registryTask(
248
+ // __filename,
249
+ // 'publish next-docs to npm',
250
+ // publishNpmForDocs.bind(undefined, distTag),
251
+ // () => {
252
+ // fs.removeSync(NEXT_DOCS_PATH);
253
+ // }
254
+ // );
255
+ // await registryTask(__filename, 'tnpm sync', () => {
256
+ // execSync('tnpm', ['sync', '@alifd/next', NEXT_DOCS_NAME]);
257
+ // });
258
+ // });
259
259
260
260
const commitRollbackFns = new Set < ( ) => unknown > ( ) ;
261
261
await registryTask (
0 commit comments