From 4c34340113a786ead6f4e81282d309534b61fa9d Mon Sep 17 00:00:00 2001 From: Andrew Moffat Date: Wed, 9 Oct 2024 00:14:06 -0700 Subject: [PATCH] fix version tag --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b51bfdf..888ced54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -148,7 +148,9 @@ jobs: - name: Get current version id: get_version - run: echo "version=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)" >> $GITHUB_ENV + run: | + version=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml) + echo "version=$version" >> "$GITHUB_OUTPUT" - name: Set up Python uses: actions/setup-python@v5