refactor: switch to the new template syntax
build: clean before package