snazy commented on code in PR #5051:
URL: https://github.com/apache/iceberg/pull/5051#discussion_r910799066


##########
build.gradle:
##########
@@ -60,9 +60,14 @@ dependencyRecommendations {
   propertiesFile file: file('versions.props')
 }
 
+def projectVersion = getProjectVersion()
+
+buildDir.mkdirs()
+file("$buildDir/version.txt").text = projectVersion

Review Comment:
   It doesn't create/change _the_ `/version.txt` file - it creates a 
`version.txt` file in `build`.
   Happy to use a different name though.
   
   But knowing which version's being built is very useful for integration test 
suites.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to