From 8c57ff1e8563530f6095e4a9856d888659db3545 Mon Sep 17 00:00:00 2001 From: Joshua Eckels <33996464+eckelsjd@users.noreply.github.com> Date: Wed, 13 Dec 2023 00:51:19 -0500 Subject: [PATCH] dev(release): initial minor release (#6) --- docs/how-to-guides.md | 2 +- release.py | 1 - src/amisc/__init__.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/how-to-guides.md b/docs/how-to-guides.md index 8d665bf..07f2a25 100644 --- a/docs/how-to-guides.md +++ b/docs/how-to-guides.md @@ -43,7 +43,7 @@ to `ComponentSpec` and `SystemSurrogate`. !!! Example ```python - def wrapper_func(x, alpha, *args, output_dir=None, **kwargs): + def wrapper_func(x, *args, alpha=(0,), output_dir=None, **kwargs): print(x.shape) # (..., x_dim) # Your code here, for example: diff --git a/release.py b/release.py index eee1dea..bb05e9a 100644 --- a/release.py +++ b/release.py @@ -7,5 +7,4 @@ repo.git.checkout('main') tag_message = sys.argv[1] if len(sys.argv) == 2 else "" new_tag = repo.create_tag(f'v{amisc.__version__}', message=tag_message) -repo.remotes.origin.push(refspec='main:main') repo.remotes.origin.push(new_tag) diff --git a/src/amisc/__init__.py b/src/amisc/__init__.py index af4d398..3edf0b3 100644 --- a/src/amisc/__init__.py +++ b/src/amisc/__init__.py @@ -8,7 +8,7 @@ from amisc.interpolator import BaseInterpolator from amisc.rv import BaseRV -__version__ = "0.0.8" +__version__ = "0.1.1" # Custom types that are used frequently IndexSet = list[tuple[tuple, tuple]]