Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No pre-release for this version possible #181

Open
c7h opened this issue Jun 5, 2024 · 1 comment
Open

No pre-release for this version possible #181

c7h opened this issue Jun 5, 2024 · 1 comment

Comments

@c7h
Copy link

c7h commented Jun 5, 2024

Hello

I am trying to implement pre-releases on my beta/v1 branch. I was following the README.md, but when I attempted to push to this branch, my pipeline failed with the error message "no pre-release for this version possible." I would appreciate guidance on how to resolve this issue.

[go-semantic-release]: version: 2.27.1
[go-semantic-release]: trying to prefetch plugins...
[go-semantic-release]: all plugins were prefetched!
[go-semantic-release]: ci-condition plugin: GitLab CI@1.10.0
[go-semantic-release]: provider plugin: GitLab@1.15.0
[go-semantic-release]: getting default branch...
[go-semantic-release]: found default branch: main
[go-semantic-release]: repo is private
[go-semantic-release]: found current branch: beta/v1
[go-semantic-release]: found maintained version: 1-beta
[go-semantic-release]: found current sha: 03225cefe32ee207fc975d0b64ffd927ed73d891
[go-semantic-release]: running CI condition...
[go-semantic-release]: getting latest release...
[go-semantic-release]: found version: 1.29.1
[go-semantic-release]: no pre-release for this version possible
[go-semantic-release]: stopping plugins...
@christophwitzko
Copy link
Member

Hi @c7h,

this is caused by the fact that go-semantic-release is trying to create a beta release for v1.29.1, which already exists without a pre-release indicator.
In your case, you will have to set the maintained version to 1.30.0-beta, and then it should work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants