fix(convert-formula.sh): delete all existing tags

* closes #210
This commit is contained in:
Dafydd Jones 2020-10-06 17:51:21 +01:00
parent a999fee214
commit 7c33601fd4
2 changed files with 7 additions and 2 deletions

View file

@ -52,6 +52,11 @@ convert_formula() {
git rm --quiet bin/convert-formula.sh AUTHORS.md CHANGELOG.md \
docs/_static/css/custom.css docs/AUTHORS.rst docs/CHANGELOG.rst \
docs/conf.py docs/CONTRIBUTING_DOCS.rst docs/index.rst
tag_out=$(git tag --list | xargs git tag --delete)
if [ "${DEBUG:-false}" = "true" ]; then
echo "$tag_out"
fi
git mv TEMPLATE "$NEW_NAME"
# Replace TEMPLATE within sls and jinja files with py-safe formula name

View file

@ -5,8 +5,8 @@ name: default
title: TEMPLATE formula
maintainer: SaltStack Formulas
license: Apache-2.0
summary: Verify that the TEMPLATE
formula is setup and configured correctly
# yamllint disable-line rule:line-length
summary: Verify that the TEMPLATE formula is setup and configured correctly
depends:
- name: share
path: test/integration/share