diff --git a/README.md b/README.md index 83faa3c..17e1969 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,6 @@ The action can be configured using the following settings: | `PatchLabels` | A comma separated list of labels that trigger a patch release. | `false` | `patch, fix` | | `IgnoreLabels` | A comma separated list of labels that do not trigger a release. | `false` | `NoRelease` | | `WhatIf` | Control wether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | `false` | -| `Debug` | Enable debug output. | `'false'` | `false` | -| `Verbose` | Enable verbose output. | `'false'` | `false` | -| `Version` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | | `false` | -| `Prerelease` | Allow prerelease versions if available. | `'false'` | `false` | | `WorkingDirectory` | The working directory where the script runs. | `'false'` | `'.'` | ## Example diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 33567ee..97b0c50 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -25,6 +25,8 @@ Set-GitHubLogGroup "Loading helper scripts from [$path]" { } } +$env:GITHUB_REPOSITORY_NAME = $env:GITHUB_REPOSITORY -replace '.+/' + Set-GitHubLogGroup 'Loading inputs' { $name = if ([string]::IsNullOrEmpty($env:PSMODULE_PUBLISH_PSMODULE_INPUT_Name)) { $env:GITHUB_REPOSITORY_NAME