From 57b37dd32bade123d790aa7a552a7b520c6e0fe7 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 26 Aug 2019 17:07:34 +0100 Subject: [PATCH] feat(ng): promote NG formula * Trigger `v1.0.0` to complete #183 BREAKING CHANGE: all previous `php` based configurations must be reviewed; `php.ng` usage must be promoted to `php` and any uses of the original `php` will have to be converted. --- docs/README.rst | 4 ++-- pre-commit_semantic-release.sh | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/docs/README.rst b/docs/README.rst index 62401aa..9d536a6 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -33,7 +33,7 @@ Formula to set up and configure php release tag before `v1.0.0 `_, i.e. - `v0.41.1 `_. + `v0.40.1 `_. To migrate from ``php.ng``, simply modify your pillar to promote the entire section under ``php:ng`` so that it is under ``php`` instead. @@ -41,7 +41,7 @@ Formula to set up and configure php unindent one level. Finish by removing the ``ng:`` line. To migrate from the old ``php``, first convert to ``php.ng`` under - `v0.41.1 `_. + `v0.40.1 `_. and then follow the steps laid out in the paragraph directly above. .. contents:: **Table of Contents** diff --git a/pre-commit_semantic-release.sh b/pre-commit_semantic-release.sh index 5e0093c..9d34d74 100755 --- a/pre-commit_semantic-release.sh +++ b/pre-commit_semantic-release.sh @@ -28,14 +28,3 @@ sed -i -e '1,4s/-/=/g' CHANGELOG.rst # Return back to the main directory cd .. - - -############################################################################### -# (C) Update last version before `v1.0.0` with `${nextRelease.version}` -############################################################################### -# Only apply this while the version number is below `v1.0.0`! -V_REPR=v${1} -MAJOR=$(echo ${V_REPR} | cut -c-2) -if [ ${MAJOR} = "v0" ]; then - sed -i -e "s@^\(\s\+\`\).*\(\s\`_\.\)@\1${V_REPR}\2${V_REPR}\3@" docs/README.rst -fi