--- a/ChangeLog Sun Jan 21 21:44:40 2018 -0600
+++ b/ChangeLog Thu Jan 25 17:40:22 2018 -0600
@@ -1,6 +1,8 @@
* Changed tasks names for bitbucket pipeline tasks.
* Abstracted the bitbucket pipeline script parsing to a library function.
+ * Fixed an issue where the files for clean tasks were not having their * Write warning, error, and fatal log messages to stderr. Fixed #156
--- a/intrinsic/clean.go Sun Jan 21 21:44:40 2018 -0600
+++ b/intrinsic/clean.go Thu Jan 25 17:40:22 2018 -0600
@@ -78,7 +78,12 @@
for _, pattern := range c.Files {
- matches, err := zglob.Glob(pattern)
+ expandedPattern, err := environment.Mapper(pattern, fullEnv) + matches, err := zglob.Glob(expandedPattern) if err == os.ErrNotExist {
// Glob was an explicit name, but the file doesn't exist. Silently
// ignore this case, just as RemoveAll ignores no change to the FS.