From 394d9d4d612594c3d092e81a734521e9c746b67e Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Tue, 21 May 2024 18:02:00 +0000 Subject: [PATCH] Docs (readme): Simplify CI entrypoint scripts commands example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e6d10ea..f1c75bf 100644 --- a/README.md +++ b/README.md @@ -158,18 +158,18 @@ Simply populate applicable environment variables values prior to executing provi ```shell # Clone project -git clone https://github.com/theohbrothers/PSRepositoryReleaseManager.git --recurse-submodules ../PSRepositoryReleaseManager +git clone https://github.com/theohbrothers/PSRepositoryReleaseManager.git --recurse-submodules # Process applicable environment variables (e.g.) -export PROJECT_DIRECTORY=$(git rev-parse --show-toplevel) +export PROJECT_DIRECTORY=$( git rev-parse --show-toplevel ) export RELEASE_NAMESPACE="$GITHUB_REPOSITORY_OWNER" -export RELEASE_REPOSITORY=$(basename "$(git rev-parse --show-toplevel)") +export RELEASE_REPOSITORY=$( basename "$( git rev-parse --show-toplevel )" ) # Generate (Generates release notes) -pwsh -c './../PSRepositoryReleaseManager/src/scripts/ci/Invoke-Generate.ps1' +pwsh -c './PSRepositoryReleaseManager/src/scripts/ci/Invoke-Generate.ps1' # Release (Creates GitHub release) -pwsh -c './../PSRepositoryReleaseManager/src/scripts/ci/Invoke-Release.ps1' +pwsh -c './PSRepositoryReleaseManager/src/scripts/ci/Invoke-Release.ps1' ``` ## Maintenance