Skip to content

Commit 642b15c

Browse files
authored
Update build.yaml
1 parent 51d5413 commit 642b15c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
with:
5858
# Fetch all history instead of the latest commit
5959
fetch-depth: 0
60+
- name: Write version file
61+
run: python scripts/write-version.py
6062
- name: Get and set version in env
61-
run: |
62-
python scripts/write-version.py
63-
echo "CURRENT_VERSION=$( python -c 'from buildrunner.version import __version__; print(__version__)' )" >> $GITHUB_ENV
63+
run: echo "CURRENT_VERSION=$( python -c 'from buildrunner.version import __version__; print(__version__)' )" >> $GITHUB_ENV
6464
- name: Print current version
6565
run: echo CURRENT_VERSION ${{ env.CURRENT_VERSION }}
6666
- name: Tag commit

0 commit comments

Comments
 (0)