diff --git a/.travis.yml b/.travis.yml index 412ba09..3750fb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,7 +72,7 @@ script: after_success: - codecov - coveralls - - '[[ $BUILD_SDIST == "True" ]] && ./make_zipapp' + - '[[ $BUILD_SDIST == "true" ]] && ./make_zipapp' deploy: - provider: releases api_key: @@ -82,7 +82,7 @@ deploy: skip_cleanup: true on: all_branches: true - condition: $DO_RELEASE = "True" + condition: $DO_RELEASE = True - provider: pypi user: lowellalleman password: diff --git a/docs/source/changelog.md b/docs/source/changelog.md index 7401acc..2fc6ac4 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -5,6 +5,12 @@ Add Python 3 support, external command plugins, tox and vagrant for testing. +### Release v0.5.4 (UNRELEASED) + * Fix typo in `KSCONF_DEBUG`. + * Resolving some build issues. + * Improved support for development/testing environments using Vagrant (fixes) and Docker (new). + Thanks to Lars Jonsson for these enhancements. + ### Release v0.5.3 (2018-11-02) * Fixed bug where `ksconf combine` could incorrectly order directories on certain file systems (like ext4), effectively ignoring priorities. Repeated runs may resulted in undefined behavior. diff --git a/make_zipapp b/make_zipapp index e800028..ebf1a69 100755 --- a/make_zipapp +++ b/make_zipapp @@ -1,4 +1,6 @@ #!/bin/bash +echo "Building zipapp" +set -e version=$(git describe --tags --always) version=${version/v/} test -d build || mkdir build @@ -16,7 +18,7 @@ echo "Building stanadalone zipapp for $version" pip install . --target=$install_temp --no-compile # Install backported configparser for python2.7; required since build script runs on 3.6 but .pyz may be run with an embedded Splunk python (2.7) -pip install confiparser --target=$install_temp --no-compile +pip install configparser --target=$install_temp --no-compile # zipapp module requires Python 3.5 or greater python -m zipapp $install_temp --output ${zipapp}.pyz --python '/usr/bin/env python' --main ksconf.__main__:cli