-
Notifications
You must be signed in to change notification settings - Fork 157
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
Publish release without running the deployment script #1840
Comments
@yegor256 Could you take a look, please? |
@volodya-lombrozo I don't have a solution. Still thinking about this... |
I think it can be usefull to have steps not only for merge and release, as Maven and Gradle have several build-in steps, but we can create our own steps.
For some reason step 3 can be required only after package publishing (as an example, you need to test another projects, but they really need new version to be available, so you have some web-hooks to run after publishing) I think it will be good to add possibility:
@volodya-lombrozo @yegor256 What do you think? |
@pnatashap As I understand it, we can configure all the 'custom steps' as separate commands inside the already existing merge and release steps. Adding new steps might overcomplicate Rultor. As for webhooks, I don’t know how to integrate them into Rultor and if Rultor even has to check them somehow. Moreover, it seems Maven Central doesn’t have webhooks. At least, I haven’t found them |
To be honest, by adding new "steps" and "properties," we are trying to solve a problem that has already been addressed by GitHub Actions. Actually, you can configure all the required scenarios using GitHub Actions. I don’t think Rultor has to move in this direction and become a build or CI/CD system. Historically, Rultor was developed when GitHub Actions weren’t in production (please, correct me if I’m wrong). So, some features seem redundant to me at this point in time. Now, I see (and use) Rultor as a bot for GitHub - which can run simple scripts (like version changing), merging branches, and publishing releases (not deploying). For example, to solve the original problem in the jtcop project. I disconnected Rultor from the deployment process and configured deployment as the separate GitHub Action. So, Rultor just "publishes" an always successful release, which triggers deployment from GitHub Action. |
Quite often, I encounter the following problem:
x.y.z
in Maven Central.)x.y.z
version isn't published on GitHub.x.y.z+1
, which has exactly the same content asx.y.z
.I see several possible solutions here:
--skip-script
.You can find a real case here. As you can see, I have to repeat the "release" command several times to publish the release on GitHub.
The text was updated successfully, but these errors were encountered: