scripts/plasma-release: adapt for stable release
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user