mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
9805422a8a
* Update Matrix Rust SDK to 26.10.01-nightly * Add ivy repository for nightly SDK binding versions * Fix API breaks * Make sure we can't release a version with a `-nightly` SDK version * Fix typo Co-authored-by: Benoit Marty <benoitm@element.io> * Update Matrix Rust SDK to 26.10.05-nightly --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Jorge Martín <jorgem@element.io> Co-authored-by: Benoit Marty <benoitm@element.io>
25 lines
778 B
Bash
Executable File
25 lines
778 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2026 Element Creations Ltd.
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
# Please see LICENSE files in the repository root for full details.
|
|
|
|
# Fails if the matrix_sdk dependency uses a "-nightly" version, which must never be released.
|
|
|
|
versionsFile="$(dirname "$0")/../../gradle/libs.versions.toml"
|
|
|
|
sdkLine=$(grep -E '^matrix_sdk[[:space:]]*=' "${versionsFile}")
|
|
if [[ -z "${sdkLine}" ]]; then
|
|
echo "Fatal: could not find the matrix_sdk dependency in ${versionsFile}"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ "${sdkLine}" == *-nightly* ]]; then
|
|
echo "Fatal: the matrix_sdk dependency uses a nightly version, which cannot be released:"
|
|
echo " ${sdkLine}"
|
|
exit 1
|
|
fi
|
|
|
|
echo "matrix_sdk dependency is not a nightly version."
|