Bowrna commented on pull request #20338: URL: https://github.com/apache/airflow/pull/20338#issuecomment-997346954
https://github.com/apache/airflow/blob/96c6bb07790ab67c7c70be736035bfa2f88cb21a/setup.py#L47 To find the version of airflow, we use the above line in setup.py To pull the value alone out of this to determine the airflow version in breeze, we use awk command to get the version using below command awk '/^version =/ {print $3}' "${AIRFLOW_SOURCES}/setup.py" Even if the spacing is removed or if we added one more variable named version = then assumption to get the version would go wrong. Is this the right way to find version or is there any better way than this? -- 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]
