Skip to content

Commit

Permalink
Docs (readme): Add minimal applicable environment variables for gener…
Browse files Browse the repository at this point in the history
…ate and release to CI entrypoint scripts commands example
  • Loading branch information
joeltimothyoh committed May 21, 2024
1 parent 6373ff7 commit 8b146aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ Simply populate applicable environment variables values prior to executing provi
# Clone project
git clone https://github.com/theohbrothers/PSRepositoryReleaseManager.git --recurse-submodules

# Process applicable environment variables (e.g.)
# 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 8b146aa

Please sign in to comment.