From 226c2f012944baba9fe0f0f54baed735d941726f Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Tue, 9 Jul 2024 01:47:27 +0000 Subject: [PATCH] Refactor (ci): Standardize environment variables in release job --- .github/workflows/ci-master-pr.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 5301540..dead977 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -236,7 +236,6 @@ jobs: - name: Generate release notes run: | # Process applicable environment variables - export PROJECT_DIRECTORY=$( git rev-parse --show-toplevel ) export RELEASE_TAG_REF=$( echo "$GITHUB_REF" | sed -rn 's/^refs\/tags\/(.*)/\1/p' ) # Generate (Generates release notes) @@ -253,7 +252,6 @@ jobs: GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | # Process applicable environment variables - export PROJECT_DIRECTORY=$( git rev-parse --show-toplevel ) export RELEASE_TAG_REF=$( echo "$GITHUB_REF" | sed -rn 's/^refs\/tags\/(.*)/\1/p' ) export RELEASE_NAMESPACE="$GITHUB_REPOSITORY_OWNER" export RELEASE_REPOSITORY=$( basename "$( git rev-parse --show-toplevel )" )