Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scripted tests
Browse files Browse the repository at this point in the history
leonardehrenfried committed Feb 17, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d806e3f commit ec04210
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sbt-test/dynver/custom-version-string-0/build.sbt
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ TaskKey[Unit]("checkNoCommits") := check(version.value, s"HEAD-${tstam
TaskKey[Unit]("checkOnCommit") := check(version.value, s"${headSha.value}")
TaskKey[Unit]("checkOnCommitDirty") := check(version.value, s"${headSha.value}-${tstamp.value}")
TaskKey[Unit]("checkOnTag") := check(version.value, s"1.0.0")
TaskKey[Unit]("checkOnTagDirty") := check(version.value, s"1.0.0-${tstamp.value}")
TaskKey[Unit]("checkOnTagDirty") := check(version.value, s"1.0.0+0-${tstamp.value}")
TaskKey[Unit]("checkOnTagAndCommit") := check(version.value, s"1.0.0-1-${headSha.value}")
TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0-1-${headSha.value}-${tstamp.value}")

2 changes: 1 addition & 1 deletion src/sbt-test/dynver/versions/build.sbt
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ TaskKey[Unit]("checkNoCommits") := check(version.value, s"HEAD+${tstam
TaskKey[Unit]("checkOnCommit") := check(version.value, s"${headSha.value}")
TaskKey[Unit]("checkOnCommitDirty") := check(version.value, s"${headSha.value}+${tstamp.value}")
TaskKey[Unit]("checkOnTag") := check(version.value, s"1.0.0")
TaskKey[Unit]("checkOnTagDirty") := check(version.value, s"1.0.0+${tstamp.value}")
TaskKey[Unit]("checkOnTagDirty") := check(version.value, s"1.0.0+0-${tstamp.value}")
TaskKey[Unit]("checkOnTagAndCommit") := check(version.value, s"1.0.0+1-${headSha.value}")
TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0+1-${headSha.value}+${tstamp.value}")

0 comments on commit ec04210

Please sign in to comment.