go-debos / debos

Debian OS builder
Apache License 2.0
533 stars 136 forks source link

actions: run: shell variables have incorrect paths when in postprocess #504

Closed obbardc closed 3 months ago

obbardc commented 3 months ago
export ARTIFACTDIR='/recipes/out'
export HOME='/tmp'
export PWD='/recipes'
export RECIPEDIR='/recipes'

these paths do not exist in postprocess :-)

obbardc commented 3 months ago

no i am wrong :-)

- postprocess -- if set script or command is executed after all other commands and
has access to the recipe directory ($RECIPEDIR) and the artifact directory ($ARTIFACTDIR).
The working directory will be set to the artifact directory.