diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index cd9d4b0a0..be2842491 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,9 @@ # Release notes +## New in git-machete 3.11.1 + +- fixed: release to Snap Store + ## New in git-machete 3.11.0 - added: `git machete help config` help topic and sphinx documentation page for config keys and environment variables diff --git a/ci/snap/ci-deploy.sh b/ci/snap/ci-deploy.sh index 5350834de..ac4b79dcb 100644 --- a/ci/snap/ci-deploy.sh +++ b/ci/snap/ci-deploy.sh @@ -2,6 +2,12 @@ set -e -o pipefail -u +# By default, CircleCi VM's terminal width and height equals 0 which causes `craft_cli/messages.py`, line 279 to exit with `ZeroDivisionError`. +# The terminal width in `craft_cli/messages.py` is being retrieved by `shutil.get_terminal_size()` using `COLUMNS` env var on line 1365 +# from `https://github.com/python/cpython/blob/3.10/Lib/shutil.py`, which can be easily fixed by setting `COLUMNS` env var value to some positive number. +# Reference to the issue: https://github.com/canonical/craft-cli/issues/85 +export COLUMNS=1 + sudo apt-get update sudo apt-get install -y snapd sudo snap install review-tools diff --git a/git_machete/__init__.py b/git_machete/__init__.py index b8b2efb82..94015dc8f 100644 --- a/git_machete/__init__.py +++ b/git_machete/__init__.py @@ -1 +1 @@ -__version__ = '3.11.0' +__version__ = '3.11.1'