Skip to content

Commit

Permalink
fix: properly configure release-please with manifest (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed May 27, 2024
1 parent afa5d09 commit 083200c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
id: release
with:
release-type: python
package-name: clinvar-this
token: ${{ secrets.BOT_TOKEN }}

- uses: actions/checkout@v2
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.15.0"
}
4 changes: 2 additions & 2 deletions clinvar_this/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
__author__ = """Manuel Holtgrewe"""
__email__ = "[email protected]"

from clinvar_this import _version
from clinvar_this import version

__version__ = _version.__version__
__version__ = version.__version__
1 change: 0 additions & 1 deletion clinvar_this/_version.py

This file was deleted.

1 change: 1 addition & 0 deletions clinvar_this/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.15.0"
10 changes: 10 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "python",
"package-name": "clinvar-this",
"version-file": "clinvar_this/_version.py"
}
}
}

0 comments on commit 083200c

Please sign in to comment.