Pārlūkot izejas kodu

Last fix release [ci skip]

Shalom Yerushalmy 6 gadus atpakaļ
vecāks
revīzija
6b406961fd
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1
    3
      scripts/release.js

+ 1
- 3
scripts/release.js Parādīt failu

@@ -127,9 +127,7 @@ function updatePackageJsonGit(version) {
127 127
     writePackageJson(packageJson);
128 128
     exec.execSync(`git add package.json`);
129 129
     exec.execSync(`git commit -m"Update package.json version to ${version} [ci skip]"`);
130
-    const remoteUrl = new RegExp(`https?://(\\S+)`).exec(exec.execSyncRead(`git remote -v`))[1];
131
-    exec.execSyncSilent(`git remote set-url origin "https://${process.env.GIT_USER}:${process.env.GIT_TOKEN}@${remoteUrl}"`);
132
-    exec.execSync(`git push origin master`);
130
+    exec.execSync(`git push deploy master`);
133 131
 }
134 132
 
135 133
 run();