Skip to content

Commit

Permalink
Docs (readme): Simplify CI entrypoint scripts commands example
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed May 21, 2024
1 parent 1c3802d commit 394d9d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 394d9d4

Please sign in to comment.