Describe the bug
When adding a post-update script add-on, the environment variable WL_PREVIOUS_HEAD is set to None which causes self.execute_process(component, command, environment) to fail with the below mentioned error.
To Reproduce
Steps to reproduce the behavior:
Create a post-update script add-on
Try to enable it on a translation component (which uses github)
See error
Expected behavior
There shouldn't be an error when adding a post-update script add-on.
Describe the bug When adding a post-update script add-on, the environment variable
WL_PREVIOUS_HEAD
is set toNone
which causesself.execute_process(component, command, environment)
to fail with the below mentioned error.To Reproduce Steps to reproduce the behavior:
Expected behavior There shouldn't be an error when adding a post-update script add-on.
Screenshots
Server configuration and status