diff --git a/README.md b/README.md index 1e7ca60f..082b0767 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ The documentation for the latest release can be found at [https://docs.descartes Changelog ========= +## [3.0.5] - 2024-03-21 + +Bugfix only + +### General + +- The `descarteslabs` client CLI script generated by the installation process was broken. Now it works! + ## [3.0.4] - 2024-03-20 A very minor release with some obscure bug fixes. diff --git a/descarteslabs/core/client/scripts/__main__.py b/descarteslabs/core/client/scripts/__main__.py index 7474698d..e6a5b057 100644 --- a/descarteslabs/core/client/scripts/__main__.py +++ b/descarteslabs/core/client/scripts/__main__.py @@ -24,9 +24,13 @@ from descarteslabs.client.scripts.cli import cli -if __name__ == "__main__": +def main(): try: cli() except Exception as e: click.echo(f"{e.__class__.__name__}: {e}", err=True) sys.exit(1) + + +if __name__ == "__main__": + main() diff --git a/descarteslabs/core/client/version.py b/descarteslabs/core/client/version.py index b4e95e79..6b106438 100644 --- a/descarteslabs/core/client/version.py +++ b/descarteslabs/core/client/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "3.0.4" +__version__ = "3.0.5"