You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/10/22 18:07:18 UTC

[GitHub] [iceberg] kbendick commented on a change in pull request #3353: Build: Publish SNAPSHOT releases

kbendick commented on a change in pull request #3353:
URL: https://github.com/apache/iceberg/pull/3353#discussion_r734747667



##########
File path: dev/source-release.sh
##########
@@ -85,7 +85,7 @@ echo "Preparing source for $tagrc"
 echo "Adding version.txt and tagging release..."
 echo $version > $projectdir/version.txt
 git add $projectdir/version.txt
-git commit -m "Add version.txt for release $version" $projectdir/version.txt
+git commit -m "Update version.txt for release $version" $projectdir/version.txt

Review comment:
       Just to verify: did you try running this script? It previously assumed we didn't have the version file and only checked it in during the release phase (the `git add` above).
   
   I would have thought it would fail at the `git add` above. I guess since it's being overwritten by line 86 above that it can successfully pass `git add` every time?
   
   I have a [WIP on a version with a test flag](https://github.com/apache/iceberg/pull/3322), but if you just exit before entering your keychain password that works just fine as well.




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org