We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When setting delayBeforePush the delay between pushes is around 1000 times shorter than the provided value
delayBeforePush
With
release { delayBeforePush = 1.minutes.toJavaDuration() }
There are around 60ms between pushes.
There should be 1 minute (60,000ms) between pushes
gradle-release-plugin/release-plugin/src/main/kotlin/io/github/simonhauck/release/tasks/PushTask.kt
Line 32 in b326384
This seems to be the culprit. The delay is provided to Thread.sleep() in seconds. Thread.sleep() however expects the provided value to be milliseconds
Thread.sleep()
The text was updated successfully, but these errors were encountered:
provide delay in milliseconds to Thread.sleep, fixes simonhauck#53
4e4ded3
#53 provide delay in milliseconds to Thread.sleep (#54)
6dcd6b4
No branches or pull requests
Describe the bug
When setting
delayBeforePush
the delay between pushes is around 1000 times shorter than the provided valueCurrent behavior
With
There are around 60ms between pushes.
Expected behavior
There should be 1 minute (60,000ms) between pushes
Possible cause
gradle-release-plugin/release-plugin/src/main/kotlin/io/github/simonhauck/release/tasks/PushTask.kt
Line 32 in b326384
This seems to be the culprit. The delay is provided to
Thread.sleep()
in seconds. Thread.sleep() however expects the provided value to be milliseconds📱 Tech info
The text was updated successfully, but these errors were encountered: