From fcfd46e4d598a27f009a818e599b1afb84f7c9f7 Mon Sep 17 00:00:00 2001 From: Tuseeq1 <31203659+Tuseeq1@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:31:11 +0200 Subject: [PATCH] Change variable name in cloudbuild.yaml (#1860) --- cloudbuild-publish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudbuild-publish.yaml b/cloudbuild-publish.yaml index ea1eb939c..3a0f83240 100644 --- a/cloudbuild-publish.yaml +++ b/cloudbuild-publish.yaml @@ -15,10 +15,10 @@ steps: - '-c' - | set -e - __VERSION=$(cat version.bzl | grep DF_VERSION | awk '{ print $3 }' | sed "s/\"//g") - echo "Creating release notes for $__VERSION" + version=$(cat version.bzl | grep DF_VERSION | awk '{ print $3 }' | sed "s/\"//g") + echo "Creating release notes for $version" gh auth login --with-token < ~/token.txt - gh release create $__VERSION --generate-notes + gh release create $version --generate-notes availableSecrets: secretManager: - versionName: projects/178487900909/secrets/npm-publish-token/versions/2