diff --git a/utils/nightly/gmsh_mac.ctest b/utils/nightly/gmsh_mac.ctest
index 126a78d7b7f5489aa95fb583e6f961e138826e39..ff354e962f61d7b753b23acc88f2f742b1d69460 100644
--- a/utils/nightly/gmsh_mac.ctest
+++ b/utils/nightly/gmsh_mac.ctest
@@ -21,4 +21,4 @@ set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.0.0-p7")
 set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.0.0-p7")
 set(CTEST_BUILD_OPTIONS ${OPT})
 include(gmsh.ctest)
-upload_package(${WEB_BIN} MacOSX "" .tar.gz .tgz)
+upload_package(${WEB_BIN} MacOSX "" .dmg .dmg)