-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: package versioning, uncomment release workflow
- Loading branch information
1 parent
6ce1b56
commit b1b7006
Showing
5 changed files
with
54 additions
and
24 deletions.
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 |
---|---|---|
|
@@ -11,9 +11,6 @@ jobs: | |
contents: read | ||
steps: | ||
- uses: actions/[email protected] | ||
# - name: Get the version from the github tag ref | ||
# id: get_version | ||
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -23,10 +20,8 @@ jobs: | |
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
# - name: Update version (kept at 0.0.0) in pyproject.toml and build | ||
# run: | | ||
# poetry version ${{ github.ref_name }} | ||
# poetry build | ||
- name: Build package | ||
run: poetry build | ||
- name: Build package | ||
run: poetry build | ||
- name: Publish the package with poetry | ||
|
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
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,5 +1,6 @@ | ||
__version__ = "0.1.0" | ||
|
||
from importlib.metadata import version | ||
from admyral.logger import setup_root_logger | ||
|
||
__version__ = version(__name__) | ||
|
||
setup_root_logger() |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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