You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/04 02:41:03 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #7618: [AIRFLOW-5828] Move build logic out from hooks/build

potiuk commented on a change in pull request #7618: [AIRFLOW-5828] Move build logic out from hooks/build
URL: https://github.com/apache/airflow/pull/7618#discussion_r387419152
 
 

 ##########
 File path: breeze
 ##########
 @@ -128,15 +125,9 @@ function setup_default_breeze_variables() {
     export INSTALL_AIRFLOW_VERSION=${INSTALL_AIRFLOW_VERSION:="current"}
 
     # Determine version of the Airflow from version.py
-    AIRFLOW_VERSION=$(cat airflow/version.py - << EOF | python
-print(version.replace("+",""))
-EOF
-    )
+    AIRFLOW_VERSION=$(grep version <"airflow/version.py" | awk '{print $3}' | sed "s/['+]//g")
 
 Review comment:
   Done. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services