mirror of
https://github.com/google/blockly.git
synced 2026-04-27 23:50:21 +02:00
temp
This commit is contained in:
@@ -14,7 +14,7 @@ import {execSync} from 'child_process';
|
||||
import * as buildTasks from './build_tasks.mjs';
|
||||
import * as packageTasks from './package_tasks.mjs';
|
||||
|
||||
const UPSTREAM_URL = 'https://github.com/RaspberryPiFoundation/blockly.git';
|
||||
const UPSTREAM_URL = 'https://github.com/raspberrypifoundation/blockly.git';
|
||||
|
||||
/**
|
||||
* Extra paths to include in the gh_pages branch (beyond the normal
|
||||
@@ -37,7 +37,7 @@ let upstream = null;
|
||||
function getUpstream() {
|
||||
if (upstream) return upstream;
|
||||
for (const line of String(execSync('git remote -v')).split('\n')) {
|
||||
if (line.includes('RaspberryPiFoundation/blockly')) {
|
||||
if (line.includes('raspberrypifoundation/blockly')) {
|
||||
upstream = line.split('\t')[0];
|
||||
return upstream;
|
||||
}
|
||||
@@ -47,7 +47,7 @@ function getUpstream() {
|
||||
|
||||
/**
|
||||
* Stash current state, check out the named branch, and sync with
|
||||
* RaspberryPiFoundation/blockly.
|
||||
* raspberrypifoundation/blockly.
|
||||
*/
|
||||
function syncBranch(branchName) {
|
||||
return function(done) {
|
||||
@@ -61,7 +61,7 @@ function syncBranch(branchName) {
|
||||
|
||||
/**
|
||||
* Stash current state, check out main, and sync with
|
||||
* RaspberryPiFoundation/blockly.
|
||||
* raspberrypifoundation/blockly.
|
||||
*/
|
||||
export function syncMain() {
|
||||
return syncBranch('main');
|
||||
@@ -101,7 +101,7 @@ function checkoutBranch(branchName) {
|
||||
|
||||
/**
|
||||
* Create and push an RC branch.
|
||||
* Note that this pushes to RaspberryPiFoundation/blockly.
|
||||
* Note that this pushes to raspberrypifoundation/blockly.
|
||||
*/
|
||||
export const createRC = gulp.series(
|
||||
syncMain(),
|
||||
|
||||
Reference in New Issue
Block a user