Skip to content

Commit 4c34340

Browse files
committed
fix version tag
1 parent 4c5a09f commit 4c34340

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ jobs:
148148

149149
- name: Get current version
150150
id: get_version
151-
run: echo "version=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)" >> $GITHUB_ENV
151+
run: |
152+
version=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)
153+
echo "version=$version" >> "$GITHUB_OUTPUT"
152154
153155
- name: Set up Python
154156
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)