Skip to content

Commit 053b269

Browse files
committed
fix: maybe this gonna work
1 parent 25bb429 commit 053b269

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

packages/vue-quill/src/assets/snow.styl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ backgroundColor = #fff
55
inactiveColor = #4B5563
66
shadowColor = #D1D5DB
77
textColor = #4B5563
8-
// Additional color
8+
// Additional colors
99
backgroundHoverColor = #F3F4F6
1010
backgroundActiveColor = #DBEAFE
1111

scripts/release.ts

+12-4
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747

4848
async function prepare(target: string, nextVersion: string) {
4949
try {
50-
const buildScript = path.resolve(__dirname, 'build.ts')
51-
console.log(chalk.bgCyan("Build package"))
52-
execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
50+
// const buildScript = path.resolve(__dirname, 'build.ts')
51+
// console.log(chalk.bgCyan("Build package"))
52+
// execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
5353
console.log(chalk.bgCyan("Zipping distribution file"))
5454
execa.sync('zip', ['-r', `${target}-dist.zip`, '.', '-i', 'dist'])
5555
} catch (err) {
@@ -109,7 +109,15 @@
109109
repositoryUrl: pkg.repository.url,
110110
dryRun: true,
111111
ci: false,
112-
plugins: ['@semantic-release/commit-analyzer']
112+
plugins: [
113+
'@semantic-release/commit-analyzer',
114+
[
115+
"@semantic-release/exec",
116+
{
117+
prepareCmd: "npx ts-node ../../scripts/build.ts --nextVersion ${nextRelease.version}"
118+
}
119+
]
120+
]
113121
})
114122
if (nextRelease) return nextRelease.version
115123
else console.log('No release will bepublished')

0 commit comments

Comments
 (0)