Commit 540c9818 by Christophe Geuzaine

EXTRA_VERSION with commit SHA

parent 48b7140e
Pipeline #548 passed with stage
in 76 minutes 23 seconds
......@@ -4,7 +4,7 @@
# bugs and problems to the public mailing list <gmsh@onelab.info>.
variables:
EXTRA_VERSION: "-git"
EXTRA_VERSION: "-git-$CI_COMMIT_SHA"
# -----------------------
# Builds for all branches
......
......@@ -1816,13 +1816,13 @@ set(CPACK_PACKAGE_VERSION_PATCH ${GMSH_PATCH_VERSION})
set(CPACK_PACKAGE_DESCRIPTION_FILE ${WELCOME_FILE})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY
"3D finite element mesh generator with built-in CAD engine and post-processor")
if(GMSH_EXTRA_VERSION MATCHES "-git") # so that we'll overwrite the archives
if(GMSH_EXTRA_VERSION MATCHES "-git.*") # so that we'll overwrite the archives
set(CPACK_PACKAGE_FILE_NAME gmsh-git-${GMSH_OS})
set(CPACK_SOURCE_PACKAGE_FILE_NAME gmsh-git-source)
else(GMSH_EXTRA_VERSION MATCHES "-git")
else(GMSH_EXTRA_VERSION MATCHES "-git.*")
set(CPACK_PACKAGE_FILE_NAME gmsh-${GMSH_VERSION}-${GMSH_OS})
set(CPACK_SOURCE_PACKAGE_FILE_NAME gmsh-${GMSH_VERSION}-source)
endif(GMSH_EXTRA_VERSION MATCHES "-git")
endif(GMSH_EXTRA_VERSION MATCHES "-git.*")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Gmsh")
set(CPACK_RESOURCE_FILE_LICENSE ${LICENSE_FILE})
set(CPACK_RESOURCE_FILE_README ${WELCOME_FILE})
......
......@@ -113,14 +113,15 @@ Public License (GPL)</a>:
versions in the <code>tutorial</code> directory. <br>Make sure to read
these examples before sending questions or bug reports!</em>
<li>Development version:
<ul><li>Latest automatic snapshots:
<ul>
<li>Git access: '<code>git clone
<a href="https://gitlab.onelab.info/gmsh/gmsh.git">https://gitlab.onelab.info/gmsh/gmsh.git</a></code>'
<li>Latest automatic snapshots:
<a href="bin/Windows/gmsh-git-Windows64.zip">Windows</a>
(<a href="bin/Windows/gmsh-git-Windows32.zip">32 bit</a>),
<a href="bin/Linux/gmsh-git-Linux64.tgz">Linux</a>,
<a href="bin/MacOSX/gmsh-git-MacOSX.dmg">MacOS</a> and
<a href="src/gmsh-git-source.tgz">source code</a>
<li>Git access: '<code>git clone
<a href="https://gitlab.onelab.info/gmsh/gmsh.git">https://gitlab.onelab.info/gmsh/gmsh.git</a></code>'
</ul>
<li>All versions: <a href="bin/">binaries</a>
and <a href="src/">sources</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment