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:34:01 UTC

[airflow-site] 01/01: 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
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit 6c551671163d88258ed41cdbc001b2dd35a59fb2
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 30b53cd16b..4333330f74 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -120,7 +120,7 @@ jobs:
           github.event_name == 'push'
         run: |
           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