mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
used current branch
This commit is contained in:
parent
2c1935c07a
commit
1e2178e46c
@ -9,10 +9,10 @@ const packageLockFilePath = path.join(repositoryRootPath, 'package-lock.json');
|
||||
module.exports = {
|
||||
switchToMaster: async function() {
|
||||
const { current } = await git.branch();
|
||||
if (current !== 'master') {
|
||||
await git.checkout('master');
|
||||
if (current !== 'dependency-automation') {
|
||||
await git.checkout('dependency-automation');
|
||||
}
|
||||
await git.pull('origin', 'master');
|
||||
// await git.pull('origin', 'dependency-automation');
|
||||
},
|
||||
makeBranch: async function(dependency) {
|
||||
const newBranch = `${dependency.moduleName}-${dependency.latest}`;
|
||||
|
Loading…
Reference in New Issue
Block a user