Skip to content

Commit

Permalink
fix: replace version properly
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Nov 25, 2024
1 parent ca35cea commit 74f7db7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Update version
run: |
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" src/__init__.py
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" src/jaqpot_api_client/__about__.py
- name: Build a binary wheel
run: >-
hatch build
Expand Down
Binary file added dist/jaqpot_api_client-1.0.0-py3-none-any.whl
Binary file not shown.
Binary file added dist/jaqpot_api_client-1.0.0.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Issues = "https://github.com/ntua-unit-of-control-and-informatics/jaqpot-api-cli
Source = "https://github.com/ntua-unit-of-control-and-informatics/jaqpot-api-client-python"

[tool.hatch.version]
path = "src/jaqpot_api_client/__init__.py"
path = "src/jaqpot_api_client/__about__.py"

[tool.hatch.envs.types]
extra-dependencies = [
Expand All @@ -46,7 +46,7 @@ source_pkgs = ["jaqpot_api_client", "tests"]
branch = true
parallel = true
omit = [
"src/jaqpot_api_client/__init__.py",
"src/jaqpot_api_client/__about__.py",
]

[tool.coverage.paths]
Expand Down
1 change: 0 additions & 1 deletion src/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/jaqpot_api_client/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2024-present Alex Arvanitidis <[email protected]>
#
# SPDX-License-Identifier: MIT
__version__ = "0.0.1"
__version__ = "{{VERSION_PLACEHOLDER}}"

0 comments on commit 74f7db7

Please sign in to comment.