ソースを参照

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.
tags/v1.0.0
Imran Iqbal 5年前
コミット
57b37dd32b
コミッターのメールアドレスに関連付けられたアカウントが存在しません
2個のファイルの変更2行の追加13行の削除
  1. +2
    -2
      docs/README.rst
  2. +0
    -11
      pre-commit_semantic-release.sh

+ 2
- 2
docs/README.rst ファイルの表示

release tag before release tag before
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_, `v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
i.e. 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 To migrate from ``php.ng``, simply modify your pillar to promote the
entire section under ``php:ng`` so that it is under ``php`` instead. entire section under ``php:ng`` so that it is under ``php`` instead.
unindent one level. Finish by removing the ``ng:`` line. unindent one level. Finish by removing the ``ng:`` line.


To migrate from the old ``php``, first convert to ``php.ng`` under 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. and then follow the steps laid out in the paragraph directly above.


.. contents:: **Table of Contents** .. contents:: **Table of Contents**

+ 0
- 11
pre-commit_semantic-release.sh ファイルの表示



# Return back to the main directory # Return back to the main directory
cd .. 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

読み込み中…
キャンセル
保存