Skip to content

Commit

Permalink
feat(ng): promote NG formula
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
myii committed Aug 26, 2019
1 parent 4048737 commit 57b37dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ Formula to set up and configure php
release tag before
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
i.e.
`v0.41.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.41.1>`_.
`v0.40.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/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.
So with the editor of your choice, highlight the entire section and then
unindent one level. Finish by removing the ``ng:`` line.

To migrate from the old ``php``, first convert to ``php.ng`` under
`v0.41.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.41.1>`_.
`v0.40.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.40.1>`_.
and then follow the steps laid out in the paragraph directly above.

.. contents:: **Table of Contents**
Expand Down
11 changes: 0 additions & 11 deletions pre-commit_semantic-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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<https://github.com/saltstack-formulas/php-formula/releases/tag/\).*\(>\`_\.\)@\1${V_REPR}\2${V_REPR}\3@" docs/README.rst
fi

0 comments on commit 57b37dd

Please sign in to comment.