Skip to content

Commit

Permalink
Merge pull request #146 from theohbrothers/refactor/ci-standardize-en…
Browse files Browse the repository at this point in the history
…vironment-variables-in-release-job

Refactor (ci): Standardize environment variables in release job
  • Loading branch information
joeltimothyoh authored Jul 9, 2024
2 parents 06e5dd6 + 226c2f0 commit 265cc64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 )" )
Expand Down

0 comments on commit 265cc64

Please sign in to comment.