Skip to content

Commit

Permalink
Merge pull request #155 from lorengordon/no-recursive-echo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon authored Mar 22, 2021
2 parents 1a8271d + d439cee commit 8d375da
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.0
current_version = 0.11.0
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### 0.11.0

**Released**: 2021.03.19

**Commit Delta**: [Change from 0.10.0 release](https://github.com/plus3it/tardigrade-ci/compare/0.10.0...0.11.0)

**Summary**:

* Adds env TARDIGRADE_CI_AUTO_INIT that controls whether auto-init is enabled
(defaults to true).
* Suppresses the duplicative output from the auto-init logic in recursive calls
to $(MAKE).

### 0.10.0

**Released**: 2021.03.18
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ HELP_FILTER ?= .*
TARDIGRADE_CI_PATH ?= $(PWD)
TARDIGRADE_CI_PROJECT ?= tardigrade-ci

export TARDIGRADE_CI_AUTO_INIT = false

export SELF ?= $(MAKE)

default:: $(DEFAULT_HELP_TARGET)
Expand Down
3 changes: 2 additions & 1 deletion bootstrap/Makefile.bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TARDIGRADE_CI_PATH ?= $(shell until [ -d "$(TARDIGRADE_CI_PROJECT)" ] || [ "`pwd
TARDIGRADE_CI_PATH_LOCAL := $(PWD)/$(TARDIGRADE_CI_PROJECT)
TARDIGRADE_CI_BOOTSTRAP := $(PWD)/.$(TARDIGRADE_CI_PROJECT)
TARDIGRADE_CI_CLONE_URL ?= https://github.com/$(TARDIGRADE_CI_ORG)/$(TARDIGRADE_CI_PROJECT).git
TARDIGRADE_CI_AUTO_INIT ?= true

# Resolves to TARDIGRADE_CI_PATH_LOCAL when TARDIGRADE_CI_PATH does not exist
export TARDIGRADE_CI_PATH := $(or $(wildcard $(TARDIGRADE_CI_PATH)),$(TARDIGRADE_CI_PATH_LOCAL))
Expand Down Expand Up @@ -48,7 +49,7 @@ else \
fi
endef

include $(shell $($(TARDIGRADE_CI_PROJECT)/init) >&2 ; echo $(TARDIGRADE_CI_MAKEFILE))
include $(if $(findstring true,$(TARDIGRADE_CI_AUTO_INIT)),$(shell $($(TARDIGRADE_CI_PROJECT)/init) >&2)) $(TARDIGRADE_CI_MAKEFILE)

.PHONY : init
## Init build-harness
Expand Down

0 comments on commit 8d375da

Please sign in to comment.