scripts/plasma-release: adapt for stable release

This commit is contained in:
Andreas Cord-Landwehr
2024-03-04 17:56:21 +01:00
parent 5e6003de99
commit 8d1da6b44b

View File

@@ -72,7 +72,7 @@ add-tarball)
for recipe in $(find $base -regex ".*/[0-9a-zA-Z\-]+\.inc" | grep -v /staging/); do for recipe in $(find $base -regex ".*/[0-9a-zA-Z\-]+\.inc" | grep -v /staging/); do
name=$(echo $recipe | sed -e "s,\.inc,_${version}.bb,") name=$(echo $recipe | sed -e "s,\.inc,_${version}.bb,")
app=$(echo $recipe | grep -P -o '[0-9a-zA-Z\-]+(?=\.inc)') app=$(echo $recipe | grep -P -o '[0-9a-zA-Z\-]+(?=\.inc)')
url="https://download.kde.org/unstable/plasma/${version}/${app}-${version}.tar.xz" url="https://download.kde.org/stable/plasma/${version}/${app}-${version}.tar.xz"
sha256=$(curl -s "${url}.sha256" | cut -d" " -f1) sha256=$(curl -s "${url}.sha256" | cut -d" " -f1)
echo "${url} : ${sha256}" echo "${url} : ${sha256}"
# examples: # examples: