diff --git a/fastlane-plugin-semantic_release.gemspec b/fastlane-plugin-semantic_release.gemspec index 8f47397..3a67236 100644 --- a/fastlane-plugin-semantic_release.gemspec +++ b/fastlane-plugin-semantic_release.gemspec @@ -6,7 +6,7 @@ require 'fastlane/plugin/semantic_release/version' Gem::Specification.new do |spec| spec.name = 'fastlane-plugin-semantic_release_workflow' - spec.version = Fastlane::SemanticRelease::VERSION + spec.version = Fastlane::SemanticReleaseWorkflow::VERSION spec.author = 'Phong Nguyen' spec.email = 'phongnguyen180993@gmail.com' diff --git a/lib/fastlane/plugin/semantic_release/version.rb b/lib/fastlane/plugin/semantic_release/version.rb index f66bb6b..8b3e5ed 100644 --- a/lib/fastlane/plugin/semantic_release/version.rb +++ b/lib/fastlane/plugin/semantic_release/version.rb @@ -1 +1 @@ -module Fastlane module SemanticRelease VERSION = "1.0.1" end end +module Fastlane module SemanticReleaseWorkflow VERSION = "1.0.1" end end diff --git a/lib/fastlane/plugin/semantic_release.rb b/lib/fastlane/plugin/semantic_release_workflow.rb similarity index 80% rename from lib/fastlane/plugin/semantic_release.rb rename to lib/fastlane/plugin/semantic_release_workflow.rb index 062086c..54f3d2f 100644 --- a/lib/fastlane/plugin/semantic_release.rb +++ b/lib/fastlane/plugin/semantic_release_workflow.rb @@ -1,7 +1,7 @@ require 'fastlane/plugin/semantic_release/version' module Fastlane - module SemanticRelease + module SemanticReleaseWorkflow # Return all .rb files inside the "actions" and "helper" directory def self.all_classes Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))] @@ -11,6 +11,6 @@ def self.all_classes # By default we want to import all available actions and helpers # A plugin can contain any number of actions and plugins -Fastlane::SemanticRelease.all_classes.each do |current| +Fastlane::SemanticReleaseWorkflow.all_classes.each do |current| require current end