From 22ff7ae97577bd1d0376d66ab0ca741cbdba4e50 Mon Sep 17 00:00:00 2001 From: Daniel Rozenberg Date: Mon, 13 Sep 2021 12:33:36 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Remove=20DRY=5FRUN=20flag=20from?= =?UTF-8?q?=20nightly=20branch=20cut=20job=20(#36041)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-system/release-workflows/cut-nightly.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build-system/release-workflows/cut-nightly.js b/build-system/release-workflows/cut-nightly.js index 5d1ba0d803ef..331ba8efb13f 100644 --- a/build-system/release-workflows/cut-nightly.js +++ b/build-system/release-workflows/cut-nightly.js @@ -8,9 +8,6 @@ const {cyan, green, red, yellow} = require('../common/colors'); const {log} = require('../common/logging'); const {Octokit} = require('@octokit/rest'); -// TODO(danielrozenberg): remove this once the Google-backed job is turned off. -const DRY_RUN = true; - const params = {owner: 'ampproject', repo: 'amphtml'}; const colorizeState = (state) => @@ -60,11 +57,6 @@ async function cutNightlyBranch() { log('Status of commit', cyan(sha), 'is', colorizeState(state)); if (state === 'success') { - if (DRY_RUN) { - log(yellow('NOTE:'), 'this job is running in DRY_RUN mode.'); - break; - } - const response = await octokit.rest.git.updateRef({ ...params, ref: 'heads/nightly',