Skip to content

Commit

Permalink
use underscore separators for plugin slug (zip folder) (#277)
Browse files Browse the repository at this point in the history
* use underscore separators for plugin slug (zip folder)

since we don't want dashes in folder names

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3nids and pre-commit-ci[bot] authored Jan 12, 2024
1 parent 561c4ed commit d3b6048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgispluginci/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def __init__(self, definition: Dict[str, Any]):

get_metadata = self.collect_metadata()
self.plugin_name = get_metadata("name")
self.plugin_slug = slugify(self.plugin_name)
self.plugin_slug = slugify(self.plugin_name, separator="_")

# fix directory in zip file
self.use_project_slug_as_plugin_directory = definition.get(
Expand Down

0 comments on commit d3b6048

Please sign in to comment.