feat: conditionally execute the post-stack-set call

If the value does not change, then we should not trigger the command
This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-23 17:40:53 -05:00
1 parent b5c85ad5be
commit 7caa95b3f3
2 files changed
+8 -1

No files matched your search

@@ -140,6 +140,8 @@ The specified stack can also be unset by omitting the name of the stack when cal
dokku buildpacks:stack-set node-js-app
```
A change in the stack value will execute the `post-stack-set` trigger.
Finally, stacks can be set or unset globally as a fallback. This will take precedence over a globally set `DOKKU_IMAGE` environment variable (`gliderlabs/herokuish:latest` by default).
```shell