{{ $gh_release := print "https://github.com/ufz/ogs/releases/tag/" .Params.tag }} {{ $gh_download := print "https://github.com/ufz/ogs/releases/download/" .Params.tag }} {{ $benchmarks_url := print "https://github.com/ufz/ogs-data/archive/" .Params.tag ".zip" }} {{ $type := "GitHub"}} {{ $pypi_url := print "https://pypi.org/project/ogs/" .Params.tag }} {{/* comparison only works for two version parts, strip out 6. */}} {{ if gt (slicestr .Params.tag 2) "3.1" }} {{ $gh_release = print "https://gitlab.opengeosys.org/ogs/ogs/-/releases/" .Params.tag }} {{ $gh_download = print "https://ogsstorage.blob.core.windows.net/binaries/ogs6/" .Params.tag }} {{ $benchmarks_url = print "https://gitlab.opengeosys.org/ogs/ogs/-/archive/" .Params.tag "/ogs-" .Params.tag ".zip?path=Tests/Data" }} {{ $type = "GitLab"}} {{ end }} {{ $file_prefix := print "ogs-" .Params.tag }}

Released on {{ dateFormat "Monday, Jan 2, 2006" .Params.release_date }}, {{ $type }} release

{{ if .Params.downloads }}

Downloads

{{ if .Params.downloads.binary }}
{{ if .Params.downloads.pip }} {{ end }} {{ range .Params.downloads.binary }} {{ end }} {{ range .Params.downloads.container }} {{ end }}
Platform Name Additional Functions
All OpenGeoSys + Utilities (Release on PyPI)
Note: Recommended install method for users on all platforms.
Python bindings PyPI release page
{{ if in . "Windows"}} {{ end }} {{ if in . "Linux"}} {{ end }} {{ if in . "OSX"}} {{ end }} {{ if in . "de" }} DataExplorer {{ else }} OpenGeoSys {{ end }} {{ if in . "utils" }} + Utilities {{ end }} {{ if in . "python" }} Python bindings {{ end }} Download
{{$file_prefix}}-{{.}} (Singularity container) Python bindings {{ if in . "openmpi" }} OpenMPI {{ end }} Download
All Benchmark input files
Note: Large download! You can also browse and download individual subdirectories for {{ .Params.tag }}
Download
{{ end }} {{ if .Params.downloads.note }}
{{ .Params.downloads.note | markdownify }}
{{ end }}
{{ end }}
{{ if eq $type "GitHub" }} {{ .Content }} {{ else }} {{ $urlPre := "https://gitlab.opengeosys.org/api/v4" }} {{ $release := getJSON $urlPre "/projects/120/releases/" .Params.tag }} {{ $release.description | markdownify }} {{ end }}