Signed-off-by: Roland Haeder <roland@mxchange.org>
// Load the announcement descriptor
$this->publishHelperInstance->loadDescriptorXml($this);
- // Compile all variables
- $this->publishHelperInstance->getTemplateInstance()->compileConfigInVariables();
+ // "Pop" next entry
+ $entry = $this->getStackerInstance()->popNamed(self::STACKER_NAME_PENDING_PUBLISHING);
+
+ // Some sanity-checks
+ assert(is_array($entry));
+
+ // Inject variables
+ $this->publishHelperInstance->getTemplateInstance()->injectConfigVariables($entry);
// "Publish" the descriptor by sending it to the bootstrap/list nodes
$this->publishHelperInstance->sendPackage($this);