Website: add support for experimental versions to the downloads page

This commit is contained in:
Sybren A. Stüvel 2023-10-20 11:18:42 +02:00
parent 4134388dda
commit f9836e295d
5 changed files with 40 additions and 13 deletions

View File

@ -12,16 +12,38 @@ Manager web-interface after installation.
The latest version is: **{{< flamenco/latestVersion >}}** The latest version is: **{{< flamenco/latestVersion >}}**
| Platform | File | | Platform | File |
|-----------|------------------------------------------------------| |---------------|------------------------------------------------------|
| Windows | {{< flamenco/downloadLink os="windows" ext="zip" >}} | | Windows | {{< flamenco/downloadLink os="windows" ext="zip" >}} |
| Linux | {{< flamenco/downloadLink os="linux" >}} | | Linux | {{< flamenco/downloadLink os="linux" >}} |
| macOS | {{< flamenco/downloadLink os="macos" >}} | | macOS (Intel) | {{< flamenco/downloadLink os="macos" >}} |
| checksums | {{< flamenco/sha256link >}} | | checksums | {{< flamenco/sha256link >}} |
Please report any issue at [projects.blender.org][bugs].
## Go Experimental!
The latest experimental version is: **{{< flamenco/latestExperimentalVersion
>}}**. This version is not guaranteed to be stable, so do not run this on
production systems. Or at least make a backup of your `flamenco-manager.yaml`
and `flamenco-manager.sqlite` files before you venture forth.
| Platform | File |
|---------------|------------------------------------------------------------------|
| Windows | {{< flamenco/downloadExperimentalLink os="windows" ext="zip" >}} |
| Linux | {{< flamenco/downloadExperimentalLink os="linux" >}} |
| macOS (Intel) | {{< flamenco/downloadExperimentalLink os="macos" >}} |
| checksums | {{< flamenco/sha256linkExperimental >}} |
Please report any issue at [projects.blender.org][bugs].
[bugs]: https://projects.blender.org/studio/flamenco/issues/new?template=.gitea%2fissue_template%2fbug.yaml
<!--
{{< hint type=caution >}} {{< hint type=caution >}}
When **upgrading** from a previous v3 beta version, it is recommended to start When **upgrading** from a previous experimental version, it is recommended to
afresh with the following steps: start afresh with the following steps:
1. Cancel any running or queued job. 1. Cancel any running or queued job.
2. Shut down Flamenco Manager and all Workers. 2. Shut down Flamenco Manager and all Workers.
@ -32,13 +54,9 @@ afresh with the following steps:
interface, and install it. It has seen development as well, and will need to interface, and install it. It has seen development as well, and will need to
be upgraded. be upgraded.
Read the beta announcement at the [Blender Studio blog][blog].<br>
Please report any issue at [project.blender.org][bugs].
[blog]: https://studio.blender.org/blog/announcing-flamenco-3-beta/ [blog]: https://studio.blender.org/blog/announcing-flamenco-3-beta/
[bugs]: https://projects.blender.org/studio/flamenco/issues/new?template=.gitea%2fissue_template%2fbug.yaml
{{< /hint >}} {{< /hint >}}
-->
## License ## License

View File

@ -1 +1,2 @@
latestVersion: "3.2" latestVersion: "3.2"
latestExperimentalVersion: "3.3-beta1"

View File

@ -0,0 +1,5 @@
{{- $os := .Get "os" | default "linux" -}}
{{- $arch := .Get "arch" | default "amd64" -}}
{{- $extension := .Get "ext" | default "tar.gz" -}}
{{- $filename := printf "flamenco-%s-%s-%s.%s" $.Site.Data.flamenco.latestExperimentalVersion $os $arch $extension -}}
<a class="flamenco-download-link" href="/downloads/{{ $filename }}">{{ $filename }}</a>

View File

@ -0,0 +1 @@
{{ $.Site.Data.flamenco.latestExperimentalVersion }}

View File

@ -0,0 +1,2 @@
{{- $filename := printf "flamenco-%s.sha256" $.Site.Data.flamenco.latestExperimentalVersion -}}
<a class="flamenco-download-link" href="/downloads/{{ $filename }}">{{ $filename }}</a>