DEV: Do not add `-theme` suffix to theme exports

DEV: Do not add -theme suffix to theme exports

This could be confusing if the theme name already ended in “theme” or “theme-component”

diff --git a/lib/theme_store/tgz_exporter.rb b/lib/theme_store/tgz_exporter.rb
index 7487e82..3e1260e 100644
--- a/lib/theme_store/tgz_exporter.rb
+++ b/lib/theme_store/tgz_exporter.rb
@@ -5,7 +5,7 @@ class ThemeStore::TgzExporter
   def initialize(theme)
     @theme = theme
     @temp_folder = "#{Pathname.new(Dir.tmpdir).realpath}/discourse_theme_#{SecureRandom.hex}"
-    @export_name = "#{@theme.name.downcase.gsub(/[^0-9a-z.\-]/, '-')}-theme"
+    @export_name = @theme.name.downcase.gsub(/[^0-9a-z.\-]/, '-')
     @export_name = "discourse-#{@export_name}" unless @export_name.starts_with?("discourse")
   end

GitHub sha: c0b1a1a9