You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/12/02 11:47:05 UTC

[airflow-site] 02/02: Fix stderr creeping into version when preparing the theme

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch fix-stderr-redirection-fix
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit fbd2c5e965b28ec5a9c5eaffe50cacee1f85a11a
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Dec 2 12:32:06 2022 +0100

    Fix stderr creeping into version when preparing the theme
---
 .github/workflows/build.yml         | 2 +-
 landing-pages/site/.hugo_build.lock | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1cc6a69c38..d27855a050 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -121,7 +121,7 @@ jobs:
         run: |
           set -x
           gh auth status
-          VERSION="$(python setup.py --version)"
+          VERSION="$(python setup.py --version 2>/dev/null)"
           TITLE=$(date "+%Y-%m-%d %H:%M:%S")
           NOTES="Commit: ${GITHUB_COMMIT}
           Source: ${GITHUB_REF}"
diff --git a/landing-pages/site/.hugo_build.lock b/landing-pages/site/.hugo_build.lock
new file mode 100644
index 0000000000..e69de29bb2