Skip to content

Commit 5c835b7

Browse files
author
Daniel Hansson
authored
info about updating to RC
1 parent 2dad723 commit 5c835b7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ https://github.com/techandme/NextBerry or here https://www.techandme.se/nextberr
4949

5050
We call it NextBerry and it's confirmed to be working on Raspberry Pi 2 & 3.
5151

52+
## I want to test RC!
53+
No problem! We made it simple. Run `update.sh` but abort it before it starts so that you have the latest `nextcloud_update.sh`. Then put this in your `nextcloud_update.sh` below the curl command (lib.sh) but before everything else and run it:
54+
55+
To test a specific RC version:
56+
57+
```
58+
NCREPO="https://download.nextcloud.com/server/prereleases"
59+
NCVERSION=12.0.1RC5
60+
STABLEVERSION="nextcloud-$NCVERSION"
61+
```
62+
63+
Or the latest RC:
64+
```
65+
NCREPO="https://download.nextcloud.com/server/prereleases"
66+
NCVERSION=$(curl -s -m 900 $NCREPO/ | sed --silent 's/.*href="nextcloud-\([^"]\+\).zip.asc".*/\1/p' | sort --version-sort | tail -1)
67+
STABLEVERSION="nextcloud-$NCVERSION"
68+
```
69+
5270
## FAQ
5371

5472
Keep asking questions so that we can add them here.

0 commit comments

Comments
 (0)