:: Set the current folder to the script's folder. pushd %~dp0 :: Update metadata and release the new version. npm run metadata:update:job :: Restore the previous current folder. popd