Home / PBX Mirror Server / Packaging Modules For FreePBX

Packaging Modules For FreePBX


Recommended command for module packaging


Linux

      tar --mtime=CURRENTUNIXTIMESTAMP --owner=asterisk --group=asterisk --exclude-vcs --exclude .vscode --exclude \*.log --exclude .prettierrc -cvf -DIRECTORY | gzip -n > RAWNAME-VERSION.tgz

Mac OS

//brew install gtar
gtar --mtime=CURRENTUNIXTIMESTAMP --owner=asterisk --group=asterisk --exclude-vcs --exclude .vscode --exclude \*.log --exclude .prettierrc -cvf -DIRECTORY | gzip -n > RAWNAME-VERSION.tgz

TIMESTAMP

date +"%s" -u



     RSS of this page