-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Ready? #7
Comments
I'm sure it's production ready. Consider to share mcve that reproduces your problem. This plugin doesn't handle Git and others pointed by you. So it should work even with detached state. If you met problem around Git, it should come from other semantic-release plugin like About SNAPSHOT qualifier, I don't think it works with semantic-release because their purpose has conflict. See FAQ at semantic-release.gitbook.io. |
Here is the point:
You're now running semantic-release in dry-run mode. This lets gradle-semantic-release-plugin to skip everything:
About SNAPSHOT qualifier, I don't think that your consideration is reasonable. In npm's culture they release packages even for test. So I recommend to avoid using semantic-release, and follow other direct solution for Java community like this (this is my personal opinion, of course). It is also valuable to consider to have multiple repos to publish (one for test, other for publish). |
I distributed it under I've also tried to downgrade to Regading |
@KengoTODA, I think that your reasoning on Please, correct me where I'm wrong: If this is correct, then this is a big surprise for Java developers and their CI/CDs. In Java we build each commit, from each branch, maybe even from dirty repo from local machine. We could call these builds This is the real key difference with tschulte's work. |
No. You can release to distribution channel. I hope official guideline helps you to grasp how it works. |
From my personal experience, In other words,
This opinion is based on my working experience, however I can imagine that other teams have different situation. :) |
@grv87 either way, it is easy to setup back and test your use case without touching this module. If you think this could be integrated in CI in a certain way, I have found that you'll need to have a snapshot branch for releasing them, and as @KengoTODA it can bring some drawback. @KengoTODA would you mind release 1.0.3 so I can test again with your module? |
I've released v1.0.3 just now, could you have a try? @kopax |
v1.0.3 is working thanks! |
The documentation you've referring to - says nothing about different branches. It says (emphasis is mine):
Distribution channels are targets where produced artifacts go, like different Maven release and snapshot repos. Not source branches. But I've figured this out. They implemented other branches not so long ago: semantic-release/semantic-release#563. It's just not mentioned in documentation yet. |
Thanks to you I am aware of that feature. Maybe you should report that to them if that's not already done. |
I saw that there are some problems reported in comments to that issue. I think they don't announce it just because it's not production-ready. |
Is this module ready ?
Hi @KengoTODA and happy new year 🐷!
I am looking to use semantic-release with my gradle project, and I can't use tschulte/gradle-semantic-release-plugin because of gradle-semantic-release-plugin/issues/#6, an issue that happen with Gitlab-CI.
Is this plugin :
Also, I have checked the source and there is no reference to
-SNAPSHOT
version. I'd like to build one from dev, it would be nice if this plugin could also optionally push the snapshot version on the development branch.Testing
gradle.properties
(not bybuild.gradle
norbuild.gradle.kts
)../gradlew
.I have tested and:
After looking at the commited+push change within the prepare step, there is just the
CHANGELOG.md
was updated.Thanks a lot for sharing this oss.
The text was updated successfully, but these errors were encountered: