Skip to content

Commit

Permalink
fix(convert-formula.sh): delete all existing tags
Browse files Browse the repository at this point in the history
* closes #210
  • Loading branch information
dafyddj committed Oct 31, 2020
1 parent a999fee commit 7c33601
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions bin/convert-formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/integration/default/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c33601

Please sign in to comment.