-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix escaping of tabs through command line - improve README.md
- Loading branch information
Showing
4 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# How to publish | ||
|
||
## Pypi | ||
|
||
Create update: | ||
|
||
1) Change version number in [pyproject.toml](pyproject.toml) | ||
2) Create new package and upload: | ||
|
||
```bash | ||
# build: will create files in dist/ | ||
poetry build | ||
# test: install .whl file | ||
pip install dist/scoary_2-*-py3-none-any.whl | ||
# upload | ||
poetry publish | ||
``` | ||
|
||
## Docker / Podman | ||
|
||
If you use docker, simply replace each `podman` with `docker`. | ||
|
||
```shell | ||
podman build --tag troder/scoary-2 . | ||
``` | ||
|
||
Publish docker image: | ||
|
||
```shell | ||
# podman login docker.io --get-login | ||
# podman login docker.io | ||
podman tag troder/scoary-2 troder/scoary-2:<scoary-version> | ||
podman push troder/scoary-2:<scoary-version> | ||
|
||
# update tag 'latest' | ||
podman tag troder/scoary-2 troder/scoary-2:latest | ||
podman push troder/scoary-2:latest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "scoary-2" | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
description = "Scoary 2: Associate genes with traits!" | ||
authors = ["MrTomRod <[email protected]>"] | ||
license = "GPL3" | ||
|