-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello !
I'm writing a gitlab template i can provide to the developers i which I added a testing stage for semantic-release.
I'm currently using the following: - semantic-release --provider gitlab --dry --allow-no-changes
This job is run along my linters, so when a merge request is created, the job will be run.
However, the dry-run crashes with the following:
Executing "step_script" stage of the job script 00:02
$ semantic-release --provider gitlab --dry --allow-no-changes
[go-semantic-release]: version: 2.31.0
[go-semantic-release]: trying to prefetch plugins...
[go-semantic-release]: all plugins were prefetched!
[go-semantic-release]: ci-condition plugin: GitLab CI@1.11.0
[go-semantic-release]: provider plugin: GitLab@1.17.0
[go-semantic-release]: getting default branch...
[go-semantic-release]: found default branch: main
[go-semantic-release]: repo is private
[go-semantic-release]: current branch not found
[go-semantic-release]: stopping plugins...
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: command terminated with exit code 1
I tried a before script in which i checkout the current branch but i can't see any changes on the error.
Am I missing something ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels