From 3960c069c3bad8da4a50213aa1c861969e52fa08 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 13 Mar 2021 18:51:13 +0100 Subject: [PATCH 1/2] [minor] Remove duplicated "ssh2" case Test: ssh2 --- install-php-extensions | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index c2a6b0d..655a881 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1929,15 +1929,6 @@ installRemoteModule() { addConfigureOption 'enable-redis-zstd' 'yes' fi ;; - ssh2) - if test -z "$installRemoteModule_version"; then - if test $PHP_MAJMIN_VERSION -le 506; then - installRemoteModule_version=0.13 - else - installRemoteModule_version=beta - fi - fi - ;; snuffleupagus) if test -z "$installRemoteModule_version"; then installRemoteModule_version=0.7.0 @@ -1963,7 +1954,7 @@ installRemoteModule() { if test $PHP_MAJMIN_VERSION -le 506; then installRemoteModule_version=0.13 else - installRemoteModule_version=1.2 + installRemoteModule_version=beta fi fi ;; From 2829b25c2190bddabf30482008247db370959816 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 13 Mar 2021 18:57:37 +0100 Subject: [PATCH 2/2] Don't include commit subjects starting with [minor] in release notes --- .github/workflows/readme-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index 95a91f5..9ecaf7d 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -143,7 +143,7 @@ jobs: RELEASE_NOTES='First version' else printf 'Generating release notes for commits between %s and %s\n' "$VERSIONTAG_PREVIOUS" "$VERSIONTAG_THIS" - RELEASE_NOTES="$(git log --format='- %s' --no-merges --reverse "refs/tags/$VERSIONTAG_PREVIOUS...refs/tags/$VERSIONTAG_THIS" -- ./install-php-extensions)" + RELEASE_NOTES="$(git log --format='- %s' --no-merges --reverse "refs/tags/$VERSIONTAG_PREVIOUS...refs/tags/$VERSIONTAG_THIS" -- ./install-php-extensions | grep -vE '^- \[minor\]')" fi printf 'Release notes:\n%s\n' "$RELEASE_NOTES" printf 'RELEASE_NAME=v%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV"