chore: use semantic-release cross-formula standard structure

* Automated using `ssf-formula` (v0.1.0-rc.1)
This commit is contained in:
Imran Iqbal
2019-07-15 00:52:21 +01:00
parent 5e631bf7d8
commit 72ff82ce75
9 changed files with 135 additions and 43 deletions

View File

@@ -87,12 +87,13 @@
{%- else %}
{%- set fs_dir = salt['config.get'](tplroot ~ ':tofs:dirs:default', 'default') %}
{%- endif %}
{%- set url = '- salt://' ~ '/'.join([
path_prefix_inc_ext,
files_dir,
fs_dir,
src_file.lstrip('/')
]) %}
{%- set url = [
'- salt:/',
path_prefix_inc_ext.strip('/'),
files_dir.strip('/'),
fs_dir.strip('/'),
src_file.strip('/'),
] | select | join('/') %}
{{ url | indent(indent_width, true) }}
{%- endfor %}
{%- endfor %}