Skip to content

Commit

Permalink
CI: change version format
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamOlech committed Jan 17, 2023
1 parent e4c4771 commit a97e695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
run: python setup.py egg_info && pip3 install -r *.egg-info/requires.txt
- name: Build static binary
run: |
echo "__version__ = \"$(git rev-parse HEAD)\"" > dockersave/_version.py
truncate -s-1 dockersave/_version.py
echo -n " + \"-$(git rev-parse HEAD)\"" >> dockersave/_version.py
pyinstaller -F dockersave/cli.py
mv dist/cli dist/dockersave
staticx dist/dockersave dockersave-static
Expand Down

0 comments on commit a97e695

Please sign in to comment.