yarn command

pull/5370/head
aniket-engg 11 months ago committed by Aniket
parent 97e44de73a
commit 11308ad0b8
  1. 5
      createPRToBeta.ts
  2. 1
      package.json

@ -2,15 +2,18 @@
// Pull request number should be provided while running this script
// It will use the reference branch same as the shared PR
// To create a new PR, Github auth token with scope 'repo' needs to be provided
// Command to run this script: fromPR=4369 authToken=abc123 npx ts-node createPRToBeta.ts
// Command to run this script: fromPR=4369 authToken=abc123 yarn run createPRToBeta
import { Octokit } from "octokit"
async function createPR (prNumber, baseBranch) {
try {
if (!prNumber) throw new Error(`Please provide a PR number with 'fromPR' env variable`)
const octokit = new Octokit({
auth: process.env.authToken || ''
})
const owner = 'ethereum'
const repo = 'remix-project'

@ -60,6 +60,7 @@
"updateBeta": "gulp & gulp updateBetaToMaster;",
"updateLive": "gulp & gulp updateLiveToBeta;",
"publishTagfromBeta": "gulp & gulp publishTagfromBeta;",
"createPRToBeta": "npx ts-node createPRToBeta.ts",
"browsertest": "sleep 5 && yarn run nightwatch_local",
"csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/src/assets/css/font-awesome.min.css' apps/remix-ide/src/assets/css/",
"downloadsolc_assets_e2e": "node ./apps/remix-ide/ci/download_e2e_assets.js",

Loading…
Cancel
Save