avantgardnerio commented on code in PR #249:
URL: https://github.com/apache/arrow-ballista/pull/249#discussion_r974869395
##########
dev/build-set-env.sh:
##########
@@ -17,4 +17,6 @@
# specific language governing permissions and limitations
# under the License.
-export BALLISTA_VERSION=$(awk -F'[ ="]+' '$1 == "version" { print $2 }'
ballista/rust/core/Cargo.toml)
+cd ballista/rust/core/
+export BALLISTA_VERSION=$(cargo pkgid | cut '-d@' -f2)
Review Comment:
The simplest version of this (that is correct) I could find.
--
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]