Skip to content

Commit

Permalink
fix: maybe this gonna work
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 29, 2021
1 parent 25bb429 commit 053b269
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/vue-quill/src/assets/snow.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ backgroundColor = #fff
inactiveColor = #4B5563
shadowColor = #D1D5DB
textColor = #4B5563
// Additional color
// Additional colors
backgroundHoverColor = #F3F4F6
backgroundActiveColor = #DBEAFE

Expand Down
16 changes: 12 additions & 4 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@

async function prepare(target: string, nextVersion: string) {
try {
const buildScript = path.resolve(__dirname, 'build.ts')
console.log(chalk.bgCyan("Build package"))
execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
// const buildScript = path.resolve(__dirname, 'build.ts')
// console.log(chalk.bgCyan("Build package"))
// execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
console.log(chalk.bgCyan("Zipping distribution file"))
execa.sync('zip', ['-r', `${target}-dist.zip`, '.', '-i', 'dist'])
} catch (err) {
Expand Down Expand Up @@ -109,7 +109,15 @@
repositoryUrl: pkg.repository.url,
dryRun: true,
ci: false,
plugins: ['@semantic-release/commit-analyzer']
plugins: [
'@semantic-release/commit-analyzer',
[
"@semantic-release/exec",
{
prepareCmd: "npx ts-node ../../scripts/build.ts --nextVersion ${nextRelease.version}"
}
]
]
})
if (nextRelease) return nextRelease.version
else console.log('No release will bepublished')
Expand Down

0 comments on commit 053b269

Please sign in to comment.