From 5c3facd6a445b36214bbe9b74a438d22c0a3d26f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 19 Sep 2019 01:40:17 -0400 Subject: [PATCH] v0.7.2 --- Bakefile | 22 ++++++++++++---------- setup.py | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Bakefile b/Bakefile index 23f9cf1..0794c1c 100644 --- a/Bakefile +++ b/Bakefile @@ -1,4 +1,6 @@ + REGISTRY=${REGISTRY:-docker.pkg.github.com} + USERNAME=${USERNAME:-kennethreitz} install: install/system install/python @@ -6,18 +8,15 @@ install/python: install/system @skip:key=./Pipfile.lock pipenv install install/system: - lazy_brew jq docker-compose + lazy_brew pipenv -docker/bash: docker/build install/system - docker-compose run --entrypoint=bash bake +docker/test: docker/build + docker-compose run --entrypoint bash bake -c 'set -ex && pip3 install pytest && pytest' -docker/release: docker/build install/system docker/release/github +docker/release: docker/build docker/release/github docker-compose push -docker/release/github: install/system docker/build - REGISTRY=${REGISTRY:-docker.pkg.github.com} - USERNAME=${USERNAME:-kennethreitz} - +docker/release/github: docker/build set -ux declare -a IMAGES=('bake:core' 'bake:latest') @@ -36,8 +35,12 @@ docker/build: install/system # Build the images. set -ex && docker-compose build +random/python: + #!/usr/bin/env python + import site + print(site) -function lazy_brew { +lazy_brew() { set -e # Install jq if it's not available. @@ -54,4 +57,3 @@ function lazy_brew { fi done } -export lazy_brew diff --git a/setup.py b/setup.py index 7497889..05e329a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ URL = "https://github.com/kennethreitz/bake" EMAIL = "me@kennethreitz.org" AUTHOR = "Kenneth Reitz" REQUIRES_PYTHON = ">=3.6.0" -VERSION = "0.7.0" +VERSION = "0.7.2" # What packages are required for this module to be executed? REQUIRED = ["click", "delegator.py", "pygments", "networkx"]