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 25973e7
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 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.

4 changes: 2 additions & 2 deletions clinvar_this/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
gene_impact,
phenotype_link,
)
from clinvar_this import _version, batches, exceptions
from clinvar_this import batches, exceptions, version
from clinvar_this.config import Config, dump_config, load_config, save_config


@click.group()
@click.version_option(_version.__version__)
@click.version_option(version.__version__)
@click.option("--verbose/--no-verbose", default=False)
@click.option("--profile", default="default", help="The profile to use")
@click.option(
Expand Down
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 25973e7

Please sign in to comment.