diff --git a/debian/changelog b/debian/changelog index 14120bd4a..8c9e0f80a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,33 @@ yunohost (12.0.0) unstable; urgency=low -- Alexandre Aubin Thu, 04 May 2023 20:30:19 +0200 +yunohost (11.2.14.1) stable; urgency=low + + - helpers: Fix typo in ynh_read_manifest documentation ([#1866](http://github.com/YunoHost/yunohost/pull/1866)) + - helpers/go: fix goenv call ([#1868](http://github.com/YunoHost/yunohost/pull/1868)) + + Thanks to all contributors <3 ! (Chris Vogel, clecle226, Félix Piédallu, OniriCorpe) + + -- Alexandre Aubin Mon, 10 Jun 2024 12:34:25 +0200 + +yunohost (11.2.14) testing; urgency=low + + - helpers/go: fix missing git fetch (5676a7275) + + -- Félix Piédallu Wed, 05 Jun 2024 15:52:06 +0200 + +yunohost (11.2.13) stable; urgency=low + + - helpers: add a --jinja option to ynh_add_config ([#1851](http://github.com/YunoHost/yunohost/pull/1851)) + - helpers: add mongodb helpers ([#1844](http://github.com/YunoHost/yunohost/pull/1844)) + - helpers: update getopts to accept arguments that are valid arguments to echo ([#1847](http://github.com/YunoHost/yunohost/pull/1847)) + - helpers: create versionned directories of the helpers ([#1717](http://github.com/YunoHost/yunohost/pull/1717)) + - helpers: fix goenv broken when checking out latest master commit ([#1863](http://github.com/YunoHost/yunohost/pull/1863)) + + Thanks to all contributors <3 ! (alexAubin, Chris Vogel, Félix Piédallu, Josué Tille, Salamandar, tituspijean) + + -- Alexandre Aubin Tue, 04 Jun 2024 16:43:42 +0200 + yunohost (11.2.12) stable; urgency=low - doc: Remove internal/packagingv1 helpers from helpers doc ([#1832](http://github.com/YunoHost/yunohost/pull/1832)) @@ -5143,4 +5170,3 @@ moulinette-yunohost (1.0~megusta1) megusta; urgency=low * Init -- Adrien Beudin Thu, 15 May 2014 13:16:03 +0200 - diff --git a/helpers/helpers.v1.d/go b/helpers/helpers.v1.d/go index 63ff0548d..86b2b83a8 100644 --- a/helpers/helpers.v1.d/go +++ b/helpers/helpers.v1.d/go @@ -128,15 +128,17 @@ ynh_install_go () { popd # Install or update xxenv-latest - mkdir -p "$goenv_install_dir/plugins/xxenv-latest" - pushd "$goenv_install_dir/plugins/xxenv-latest" - if ! [ -x "$goenv_install_dir/plugins/xxenv-latest/bin/goenv-latest" ]; then + goenv_latest_dir="$goenv_install_dir/plugins/xxenv-latest" + mkdir -p "$goenv_latest_dir" + pushd "$goenv_latest_dir" + if ! [ -x "$goenv_latest_dir/bin/goenv-latest" ]; then ynh_print_info --message="Downloading xxenv-latest..." git init -q git remote add origin https://github.com/momo-lab/xxenv-latest.git else ynh_print_info --message="Updating xxenv-latest..." fi + git fetch -q --tags --prune origin local git_latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)") git checkout -q "$git_latest_tag" popd @@ -154,7 +156,7 @@ ynh_install_go () { test -x /usr/bin/go_goenv && mv /usr/bin/go_goenv /usr/bin/go # Install the requested version of Go - local final_go_version=$(goenv latest --print "$go_version") + local final_go_version=$("$goenv_latest_dir/bin/goenv-latest" --print "$go_version") ynh_print_info --message="Installation of Go-$final_go_version" goenv install --skip-existing "$final_go_version" diff --git a/helpers/helpers.v1.d/utils b/helpers/helpers.v1.d/utils index 73cb0cc62..4f19ebb11 100644 --- a/helpers/helpers.v1.d/utils +++ b/helpers/helpers.v1.d/utils @@ -943,9 +943,9 @@ ynh_secure_remove() { # Read the value of a key in a ynh manifest file # -# usage: ynh_read_manifest --manifest="manifest.json" --key="key" -# | arg: -m, --manifest= - Path of the manifest to read -# | arg: -k, --key= - Name of the key to find +# usage: ynh_read_manifest --manifest="manifest.json" --manifest_key="key" +# | arg: -m, --manifest= - Path of the manifest to read +# | arg: -k, --manifest_key= - Name of the key to find # | ret: the value associate to that key # # Requires YunoHost version 3.5.0 or higher. diff --git a/maintenance/make_changelog.sh b/maintenance/make_changelog.sh index 9a5781c27..a24ccb08c 100644 --- a/maintenance/make_changelog.sh +++ b/maintenance/make_changelog.sh @@ -1,5 +1,5 @@ VERSION="?" -RELEASE="testing" +RELEASE="stable" REPO=$(basename $(git rev-parse --show-toplevel)) REPO_URL=$(git remote get-url origin) ME=$(git config --get user.name)