1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

fix upgrade-version script

This commit is contained in:
Kay0u 2023-08-25 11:45:48 +02:00
parent d758ecc51f
commit 72c840621b
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -53,7 +53,7 @@ done
if [[ "$(basename $file)" == upgrade.last.sh ]]; then if [[ "$(basename $file)" == upgrade.last.sh ]]; then
# Update manifest # Update manifest
sed -i -e "s/\"version\": \"[^0-9.]*[0-9.]*[0-9.]~ynh[0-9.]\"/\"version\": \"$version~ynh1\"/" $gitlab_directory/manifest.json sed -i -e "s/version = \"[^0-9.]*[0-9.]*[0-9.]~ynh[0-9.]\"/version = \"$version~ynh1\"/" $gitlab_directory/manifest.toml
# Don't, it's autogenerated now # Don't, it's autogenerated now
## Update readme ## Update readme