Skip to content
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Build Windows CLI
shell: cmd.exe
command: |
curl -sSL https://install.python-poetry.org | python - && ..\AppData\Roaming\Python\Scripts\poetry install && ..\AppData\Roaming\Python\Scripts\poetry run pyinstaller src/dfm/cli.py --onefile --name dfm && 7z a ./cli-windows.zip ./dist/
choco install pyenv-win -y --force && refreshenv && pyenv install 3.11.0b4 && pyenv global 3.11.0b4 && pyenv shell 3.11.0b4 && curl -sSL https://install.python-poetry.org | python3 - && ..\AppData\Roaming\Python\Scripts\poetry install && ..\AppData\Roaming\Python\Scripts\poetry run pyinstaller src/dfm/cli.py --onefile --name dfm && 7z a ./cli-windows.zip ./dist/
- store_artifacts:
path: cli-windows.zip
create-cli-linux:
Expand All @@ -59,7 +59,7 @@ jobs:
name: Build Mac CLI
command: |
brew install python@3.11
curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3.11 -
$HOME/.local/bin/poetry install
$HOME/.local/bin/poetry run pyinstaller src/dfm/cli.py --onefile --name dfm
zip -r cli-mac.zip dist/dfm
Expand All @@ -75,13 +75,19 @@ workflows:
jobs:
- create-cli-linux:
filters:
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/
branches:
only: main
ignore: /.*/
- create-cli-windows:
filters:
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/
branches:
only: main
ignore: /.*/
- create-cli-mac:
filters:
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/
branches:
only: main
ignore: /.*/
4 changes: 2 additions & 2 deletions src/dfm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import platform
from pathlib import Path

from src.config import BuildConfig
from src.version import __version__
from dfm.config import BuildConfig
from dfm.version import __version__


def parse_parameter_string(param_str: str) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion src/dfm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "v0.2.3"
__version__ = "v0.3.0"