On 17/03/2023 05:39, suarezmiguelc wrote:
:PROPERTIES:
:header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip
index.js && rm index.js")
:END:
There is no such feature as :post-tangle. Try
M-x org-lint
Generic org-babel code is executed instead to evaluate values of all
header arguments. It happens *before* processing of a code block.
You may be interested in `org-babel-post-tangle-hook'
(info "(org) Extracting Source Code")
https://orgmode.org/manual/Extracting-Source-Code.html#index-org_002dbabel_002dpost_002dtangle_002dhook