You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sl...@apache.org on 2023/06/06 13:19:15 UTC
[daffodil] branch main updated: Fix typo in genVersion resource generator
This is an automated email from the ASF dual-hosted git repository.
slawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil.git
The following commit(s) were added to refs/heads/main by this push:
new 71cf42773 Fix typo in genVersion resource generator
71cf42773 is described below
commit 71cf4277362285fe577b5eea71b35ab05c76a566
Author: Steve Lawrence <sl...@apache.org>
AuthorDate: Tue Jun 6 07:42:57 2023 -0400
Fix typo in genVersion resource generator
The comment says the opposite of what is intended, which could be very
confusing to developers.
DAFFODIL-2816
---
build.sbt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sbt b/build.sbt
index ffc23ce65..5e9daf12d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -380,7 +380,7 @@ lazy val libManagedSettings = Seq(
val resourceDir = (Compile / resourceManaged).value
val outFile = resourceDir / "org" / "apache" / "daffodil" / "lib" / "VERSION"
if (!outFile.exists || IO.read(outFile) != version.value) {
- // only write the VERSION file if the version hasn't changed. If we always write, then the
+ // only write the VERSION file if the version has changed. If we always write, then the
// mtime changes and sbt thinks it needs to rebuild everything since a resource changed.
IO.write(outFile, version.value)
}