Skip to content

Commit

Permalink
Set version command accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Jan 13, 2025
1 parent 5d5faff commit 63da2f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
tags: tag_for_testing

- name: Test cli works in cached runtime image
run: docker run --rm tag_for_testing --version
run: docker run --rm tag_for_testing version

- name: Create tags for publishing image
id: meta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:

- name: Test module --version works using the installed wheel
# If more than one module in src/ replace with module name to test
run: python -m $(ls --hide='*.egg-info' src | head -1) --version
run: python -m $(ls --hide='*.egg-info' src | head -1) version
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ ENV PATH=/venv/bin:$PATH

# change this entrypoint if it is not the same as the repo
ENTRYPOINT ["thorlabs-mff-fastcs"]
CMD ["--version"]
CMD ["version"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ print(f"Hello thorlabs_mff_fastcs {__version__}")
Or if it is a commandline tool then you might put some example commands here:

```
python -m thorlabs_mff_fastcs --version
python -m thorlabs_mff_fastcs version
```

0 comments on commit 63da2f2

Please sign in to comment.