mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
Upgrade to v1.7.17
This commit is contained in:
parent
7d16d0560c
commit
e663e16092
2 changed files with 4 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.15/grav-admin-v1.7.15.zip
|
||||
SOURCE_SUM=3acd9067720876ffc4c5b0f7c0ac2d495c3b3211d6c2c88cabd20dc18988115a
|
||||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.17/grav-admin-v1.7.17.zip
|
||||
SOURCE_SUM=434833c6f604ff8ad38f0c58932dbdc99c61b498f16a883dae946017abd286ce
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -79,15 +79,11 @@ EOT
|
|||
# README and COMMIT
|
||||
###
|
||||
|
||||
sed -i "s#\*\*Shipped version:\*\*.*#\*\*Shipped version:\*\* ${version}#" ../README.md
|
||||
sed -i "s#\*\*Version incluse :\*\*.*#\*\*Version incluse :\*\* ${version}#" ../README_fr.md
|
||||
sed -i "s# \"version\": \".*# \"version\": \"${version}\~ynh1\",#" ../manifest.json
|
||||
|
||||
# TODO: Run README maker
|
||||
|
||||
message="Upgrade to v$version"
|
||||
if [ "$message" == "$(git show -s --format=%s)" ]; then
|
||||
git commit ../README.md ../README_fr.md ../manifest.json ../conf/app.src --amend -m "$message"
|
||||
git commit ../manifest.json ../conf/app.src --amend -m "$message"
|
||||
else
|
||||
git commit ../README.md ../README_fr.md ../manifest.json ../conf/app.src -m "$message"
|
||||
git commit ../manifest.json ../conf/app.src -m "$message"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue