Skip to content

Commit aa202e9

Browse files
authored
chore: smoke tests using a preid (#8056)
#8054 broke the smoke test because were publishing the current version in a test
1 parent 3644e79 commit aa202e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/publish.js

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ const main = async (opts) => {
126126
for (const publish of publishes) {
127127
const workspace = publish.workspace && `--workspace=${publish.name}`
128128
const publishPkg = (...args) => npm('publish', workspace, `--tag=${publish.tag}`, ...args)
129+
130+
await npm('version prerelease', workspace, '--preid=smoke')
129131
if (isPack) {
130132
await npm(
131133
'pack',

0 commit comments

Comments
 (0)