Skip to content

Commit 5ad184a

Browse files
authored
Merge pull request #247 from gonX/0651prep
Update external OpenTabletDriver version to v0.6.5.1
2 parents dee507d + 7354550 commit 5ad184a

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

site/_data/links.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"project": {
3+
"latestReleaseBase": "https://github.com/OpenTabletDriver/OpenTabletDriver/releases/latest/download/",
34
"latestRelease": {
4-
"deb": "https://github.com/OpenTabletDriver/OpenTabletDriver/releases/latest/download/OpenTabletDriver.deb",
5-
"rpm": "https://github.com/OpenTabletDriver/OpenTabletDriver/releases/latest/download/OpenTabletDriver.rpm",
6-
"osx-x64": "https://github.com/OpenTabletDriver/OpenTabletDriver/releases/latest/download/OpenTabletDriver.osx-x64.tar.gz",
7-
"win-x64": "https://github.com/OpenTabletDriver/OpenTabletDriver/releases/latest/download/OpenTabletDriver.win-x64.zip"
5+
"deb": "opentabletdriver-{{VERSION}}-1-x64.deb",
6+
"rpm": "opentabletdriver-{{VERSION}}-1.x86_64.rpm",
7+
"osx-x64": "OpenTabletDriver-{{VERSION}}_osx-x64.tar.gz",
8+
"win-x64": "OpenTabletDriver-{{VERSION}}_win-x64.zip"
89
},
910
"buildInstructions": {
1011
"linux": "https://github.com/OpenTabletDriver/OpenTabletDriver#linux"

site/_data/otd-versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"0.6.2.0",
2020
"0.6.3.0",
2121
"0.6.4.0",
22-
"0.6.5.0"
22+
"0.6.5.0",
23+
"0.6.5.1"
2324
]

site/_includes/latest-release.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{%- assign latest_otd_version = site.data.otd-versions | last -%}
2+
{%- assign filename = include.filename | replace: '{{VERSION}}', latest_otd_version -%}
3+
{%- assign urlBasePath = site.data.links.project.latestReleaseBase -%}
4+
Download the <a href="{{ urlBasePath }}{{ filename }}">latest release</a> <small class="text-muted">({{ filename }})</small>

site/_wiki/Install/Linux.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hide_from_auto_list: true
55

66
## Ubuntu / Debian {#debian}
77

8-
1. Download the [latest release]({{ site.data.links.project.latestRelease.deb }}) <small class="text-muted">(OpenTabletDriver.deb)</small>
8+
1. {% include latest-release.html filename=site.data.links.project.latestRelease.deb %}
99
2. Run the following commands in a terminal
1010

1111
```bash
@@ -28,7 +28,7 @@ If you're experiencing `libhostfxr` issues, please see the solutions from Micros
2828
2929
### Fedora {#fedora}
3030
31-
1. Download the [latest release]({{ site.data.links.project.latestRelease.rpm }}) <small class="text-muted">(OpenTabletDriver.rpm)</small>
31+
1. {% include latest-release.html filename=site.data.links.project.latestRelease.rpm %}
3232
2. Install the package with the following command:
3333
3434
```bash
@@ -47,7 +47,7 @@ If you're experiencing `libhostfxr` issues, please see the solutions from Micros
4747
4848
### openSUSE {#opensuse}
4949
50-
1. Download the [latest release]({{ site.data.links.project.latestRelease.rpm }}) <small class="text-muted">(OpenTabletDriver.rpm)</small>
50+
1. {% include latest-release.html filename=site.data.links.project.latestRelease.rpm %}
5151
2. Run commands from [this guide]({{ site.data.links.external.Microsoft.AddMicrosoftRepoOpenSUSE }}) to add the Microsoft package repository.
5252
5353
> You don't need to install .NET runtime at this point as zypper will install it as a dependency of OpenTabletDriver.

site/_wiki/Install/MacOS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hide_from_auto_list: true
55

66
## App {#app}
77

8-
1. Download the [latest release]({{ site.data.links.project.latestRelease.osx-x64 }}) <small class="text-muted">(OpenTabletDriver.osx-x64.tar.gz)</small>
8+
1. {% include latest-release.html filename=site.data.links.project.latestRelease.osx-x64 %}
99
2. Extract it and drag `{% otdexe macos-extractor %}` into your Applications folder
1010
3. Run the OpenTabletDriver app.
1111
4. Set up the [required permissions]({% link _wiki/Documentation/RequiredPermissions.md %}#macos).

site/_wiki/Install/Windows.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you are upgrading from an older version of OpenTabletDriver, it is important
1616
install it on top of the old version and instead clean up the old directory.
1717
Alternatively you can install it to a new directory.
1818

19-
1. Download the [latest release]({{ site.data.links.project.latestRelease.win-x64 }}). <small class="text-muted">(OpenTabletDriver.win-x64.zip)</small>
19+
1. {% include latest-release.html filename=site.data.links.project.latestRelease.win-x64 %}
2020
2. Extract the downloaded file into a folder of its own. For example:
2121

2222
```otdlog

0 commit comments

Comments
 (0)