Skip to content

Commit

Permalink
EVA-PIMP repospec override now (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattenkrieg committed Feb 29, 2024
1 parent 0b733d6 commit 0f00851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.7.0"
private const val RELEASE_VERSION = "0.6.2"
private const val RELEASE_VERSION = "0.6.3"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ abstract class RepositorySpec(
this.body()
}

suspend fun <R> inTransaction(block: suspend (context: TransactionalContext) -> R): R {
val context = transactionalContext(clock.instant())
suspend fun <R> inTransaction(ctxInstant: Instant? = null, block: suspend (context: TransactionalContext) -> R): R {
val context = transactionalContext(ctxInstant ?: clock.instant())
val txBlock: suspend () -> R = {
block(context)
}
Expand Down

0 comments on commit 0f00851

Please sign in to comment.