allegro / allegro/axion-release-plugin
ReleaseFailedException on concurrent attempts to increment version
- 主要言語
- Groovy
- スター
- 641
- フォーク
- 165
- 平均マージ
- 49分
- マージ済み PR(30日)
- 9
説明
In the event that two separate processes attempt to increment the version for a module at the same time, then the following exception is thrown in one of them.
> FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':module:release'.
> pl.allegro.tech.build.axion.release.ReleaseFailedException (no error message)
Try:
> Run with --stacktrace option to get the stack trace.
> Run with --scan to get full insights.
Get more help at https://help.gradle.org/
This can be worked around by performing a `git fetch --tags` and then retrying the release task which, on the second attempt then concludes that there is nothing to be released as the other process has already tagged this commit successfully.
Presumably the issue here is a rejection by the git repository of the push. It would be good if such a rejection is encountered if the axion-release-plugin could automatically perform a fetch and re-attempt the push itself.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。