collabora-online: 24.04.13-2 → 24.04.17-3 (#488018)
This commit is contained in:
+466
-302
File diff suppressed because it is too large
Load Diff
@@ -24,13 +24,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "collabora-online";
|
||||
version = "24.04.13-2";
|
||||
version = "24.04.17-3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CollaboraOnline";
|
||||
repo = "online";
|
||||
tag = "cp-${finalAttrs.version}";
|
||||
hash = "sha256-d6i/aSmbim7UAKz9VX1ClbtIQravMq0r8beZC9FD6as=";
|
||||
hash = "sha256-KJ5E5jvV0MrWdpU4pU+9Y4ngRJ/kk3lcBntbWdQZFqY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -96,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postPatch = ''
|
||||
cp ${./package-lock.json} package-lock.json
|
||||
'';
|
||||
hash = "sha256-0RnGt9NLgyARgbh2GOcz7H3l4vtij8PD5jmcdUDB/5Y=";
|
||||
hash = "sha256-LzXU1WdayfXhkDOlKEtZ/pgYfFPNPml5TNXS9sJp2yI=";
|
||||
};
|
||||
|
||||
npmRoot = "browser";
|
||||
|
||||
@@ -9,12 +9,16 @@ cd "$PACKAGE_DIR/.."
|
||||
while ! test -f default.nix; do cd .. ; done
|
||||
NIXPKGS_DIR="$PWD"
|
||||
|
||||
new_version="$(
|
||||
list-git-tags --url=https://github.com/CollaboraOnline/online \
|
||||
| grep --perl-regex --only-matching '^cp-\K[0-9.-]+$' \
|
||||
| sort --version-sort \
|
||||
| tail -n1
|
||||
)"
|
||||
if [ "$1" ]; then
|
||||
new_version=$1
|
||||
else
|
||||
new_version="$(
|
||||
list-git-tags --url=https://github.com/CollaboraOnline/online \
|
||||
| grep --perl-regex --only-matching '^cp-\K[0-9.-]+$' \
|
||||
| sort --version-sort \
|
||||
| tail -n1
|
||||
)"
|
||||
fi
|
||||
|
||||
cd "$NIXPKGS_DIR"
|
||||
update-source-version collabora-online "$new_version"
|
||||
|
||||
Reference in New Issue
Block a user