From 059c449a0323bce46d3dd3df63b73bdb77c3a0c3 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Wed, 10 Mar 2021 20:44:13 -0500 Subject: [PATCH] xournalpp-nightly: Add version 20210311 (Closes #5) * Fix autoupdate and extraction procedure * 1.1.0.dev-nightly.YYYYMMDD -> YYYYMMDD version --- bucket/xournalpp-nightly.json | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/bucket/xournalpp-nightly.json b/bucket/xournalpp-nightly.json index aceadce..c481156 100644 --- a/bucket/xournalpp-nightly.json +++ b/bucket/xournalpp-nightly.json @@ -1,24 +1,30 @@ { - "version": "1.1.0.dev-nightly.20210310", + "version": "20210311", "description": "Nightly dev releases of Xournalpp", "homepage": "https://github.com/xournalpp/xournalpp", "license": "GPL-2.0-or-later", "architecture": { "64bit": { - "url": "https://github.com/xournalpp/xournalpp/releases/download/nightly/xournalpp-1.1.0.dev-nightly.20210310-windows.zip", - "hash": "72b62bf34ecb4b9133a73eceabd681a075f9260b1626498a15535b2234d9aa7a" + "url": "https://github.com/xournalpp/xournalpp/releases/download/nightly/xournalpp-1.1.0.dev-nightly.20210311-windows.zip", + "hash": "082bf301e5f51648cbed79070b09a46a220a4b638f1e7b9c20d5dcbe79e2052a" } }, "pre_install": [ - "Expand-7zipArchive \"$dir\\xournalpp-$version-windows.exe\" -Removal", - "Remove-Item \"$dir\\`$*\", \"$dir\\Uninst*\" -Recurse" + "Get-ChildItem \"$dir\\*.exe\" | ForEach-Object -Process { Expand-7zipArchive $_ -Removal }" ], - "bin": [ [ "xournalpp-1.1.0+dev-nightly.20210310-windows.exe", "xournalpp-nightly" ] ], + "bin": "bin\\xournalpp.exe", "shortcuts": [ [ - "xournalpp-1.1.0+dev-nightly.20210310-windows.exe", + "bin\\xournalpp.exe", "Xournal++ Nightly" ] ], - "notes": "Latest available dev nightly build. For regular releases use xournalpp from the main extras bucket" + "notes": "Latest available dev nightly build. For regular releases use xournalpp from the main extras bucket", + "checkver": { + "url": "https://github.com/xournalpp/xournalpp/releases/tag/nightly", + "regex": "1.1.0.dev-nightly.([\\d.]+)" + }, + "autoupdate": { + "url": "https://github.com/xournalpp/xournalpp/releases/download/nightly/xournalpp-1.1.0.dev-nightly.$version-windows.zip" + } }