Skip to content

Commit

Permalink
Merge pull request #75 from theohbrothers/docs/readme-simplify-ci-ent…
Browse files Browse the repository at this point in the history
…rypoint-scripts-commands-example

Docs (readme): Simplify CI entrypoint scripts commands example
  • Loading branch information
joeltimothyoh authored May 21, 2024
2 parents 1c3802d + 394d9d4 commit 6373ff7
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 6373ff7

Please sign in to comment.