Skip to content

Commit

Permalink
chore(*): reset release script
Browse files Browse the repository at this point in the history
  • Loading branch information
eternalsky authored and luolin-ck committed Sep 10, 2024
1 parent fcd70f6 commit 33289e2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ registryTask(__filename, 'release', async () => {
// await registryChangelog(__filename);
const { masterTag } = getVersion();

// await registryBuild(__filename);
await registryBuild(__filename);

// await registryCheck(__filename);
await registryCheck(__filename);

// await registryTask(__filename, 'release check', async () => {
// await registryCheckSass(__filename);
// await registryTask(__filename, 'check git tag', checkTags);
// await registryTask(__filename, 'check build outputs', checkFiles);
// });
await registryTask(__filename, 'release check', async () => {
await registryCheckSass(__filename);
await registryTask(__filename, 'check git tag', checkTags);
await registryTask(__filename, 'check build outputs', checkFiles);
});
await registryTask(__filename, 'publish to npm', async () => {
const { version } = getVersion();
const versionTag = version.match(/[a-z]+/)?.[0];
Expand All @@ -243,7 +243,7 @@ registryTask(__filename, 'release', async () => {
message: 'publish dist-tags:',
})
).tag;
// await registryTask(__filename, 'publish next to npm', publishNpm.bind(undefined, distTag));
await registryTask(__filename, 'publish next to npm', publishNpm.bind(undefined, distTag));
await registryTask(
__filename,
'publish next-docs to npm',
Expand Down

0 comments on commit 33289e2

Please sign in to comment.