mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Force dry run temporarily
This commit is contained in:
@@ -29,4 +29,4 @@ jobs:
|
||||
- name: Publish to npm
|
||||
env:
|
||||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: node ./bin/publish.js
|
||||
run: node ./bin/publish.js --dry
|
||||
|
||||
+3
-4
@@ -41,10 +41,10 @@ const addonPackageDirs = [
|
||||
console.log(`Checking if addons need to be published`);
|
||||
for (const p of addonPackageDirs) {
|
||||
const addon = path.basename(p);
|
||||
if (changedFiles.some(e => e.includes(addon))) {
|
||||
// if (changedFiles.some(e => e.includes(addon))) {
|
||||
console.log(`Try publish ${addon}`);
|
||||
checkAndPublishPackage(p);
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
// Publish website if it's a stable release
|
||||
@@ -94,8 +94,7 @@ function checkAndPublishPackage(packageDir) {
|
||||
|
||||
function getNextBetaVersion(packageJson) {
|
||||
if (!/^\d+\.\d+\.\d+$/.exec(packageJson.version)) {
|
||||
console.error('The package.json version must be of the form x.y.z');
|
||||
process.exit(1);
|
||||
throw new Error('The package.json version must be of the form x.y.z');
|
||||
}
|
||||
const tag = 'beta';
|
||||
const stableVersion = packageJson.version.split('.');
|
||||
|
||||
Reference in New Issue
Block a user