Skip to content

Commit

Permalink
chore(*): Release-1.27.22
Browse files Browse the repository at this point in the history
  • Loading branch information
eternalsky committed Aug 27, 2024
1 parent b23bead commit 22af7ff
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 39 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [1.27.22](https://github.com/alibaba-fusion/next/compare/1.27.21...1.27.22) (2024-08-27)


### Bug Fixes

* **Button:** add displayName for Button and ButtonGroup to fix balloon issue ([b23bead](https://github.com/alibaba-fusion/next/commit/b23bead1e18448924ad6bb0cff1e3e084af6b900))


## [1.27.21](https://github.com/alibaba-fusion/next/compare/1.27.20...1.27.21) (2024-08-12)


Expand Down
4 changes: 2 additions & 2 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Latest Log

## [1.27.21](https://github.com/alibaba-fusion/next/compare/1.27.20...1.27.21) (2024-08-12)
## [1.27.22](https://github.com/alibaba-fusion/next/compare/1.27.21...1.27.22) (2024-08-27)


### Bug Fixes

* add displayName to components for configProvider popupContainer bug ([ced12e1](https://github.com/alibaba-fusion/next/commit/ced12e125c7495330c6f4c59cc23c0805f07b216))
* **Button:** add displayName for Button and ButtonGroup to fix balloon issue ([b23bead](https://github.com/alibaba-fusion/next/commit/b23bead1e18448924ad6bb0cff1e3e084af6b900))

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var next = require('./lib/index.js');

next.version = '1.27.21';
next.version = '1.27.22';

module.exports = next;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alifd/next",
"version": "1.27.21",
"version": "1.27.22",
"description": "A configurable component library for web built on React.",
"keywords": [
"fusion",
Expand Down
70 changes: 35 additions & 35 deletions tools/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,43 +219,43 @@ 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, 'publish to npm', async () => {
const { version } = getVersion();
const versionTag = version.match(/[a-z]+/)?.[0];
const distTag: string =
ARGV.tag ||
versionTag ||
(
await inquirer.prompt({
name: 'tag',
type: 'list',
choices: ['latest', 'next', 'beta'],
default: 0,
message: 'publish dist-tags:',
})
).tag;
await registryTask(__filename, 'publish next to npm', publishNpm.bind(undefined, distTag));
await registryTask(
__filename,
'publish next-docs to npm',
publishNpmForDocs.bind(undefined, distTag),
() => {
fs.removeSync(NEXT_DOCS_PATH);
}
);
await registryTask(__filename, 'tnpm sync', () => {
execSync('tnpm', ['sync', '@alifd/next', NEXT_DOCS_NAME]);
});
});
// 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];
// const distTag: string =
// ARGV.tag ||
// versionTag ||
// (
// await inquirer.prompt({
// name: 'tag',
// type: 'list',
// choices: ['latest', 'next', 'beta'],
// default: 0,
// message: 'publish dist-tags:',
// })
// ).tag;
// await registryTask(__filename, 'publish next to npm', publishNpm.bind(undefined, distTag));
// await registryTask(
// __filename,
// 'publish next-docs to npm',
// publishNpmForDocs.bind(undefined, distTag),
// () => {
// fs.removeSync(NEXT_DOCS_PATH);
// }
// );
// await registryTask(__filename, 'tnpm sync', () => {
// execSync('tnpm', ['sync', '@alifd/next', NEXT_DOCS_NAME]);
// });
// });

const commitRollbackFns = new Set<() => unknown>();
await registryTask(
Expand Down

0 comments on commit 22af7ff

Please sign in to comment.