From fa70f92119dc6e65460b5905ed49a4d7a6f8ede6 Mon Sep 17 00:00:00 2001 From: Tianhao Zhou Date: Fri, 11 Dec 2020 16:49:18 -0800 Subject: [PATCH] chore: bump version to 1.0.1 (#66) * chore: bump version to 1.0.1 * chore: add a test for valid plugin versioning --- lib/fastlane/plugin/flutter_version/version.rb | 2 +- spec/flutter_version_action_spec.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/fastlane/plugin/flutter_version/version.rb b/lib/fastlane/plugin/flutter_version/version.rb index 62e93b4..04839e1 100644 --- a/lib/fastlane/plugin/flutter_version/version.rb +++ b/lib/fastlane/plugin/flutter_version/version.rb @@ -2,6 +2,6 @@ module Fastlane module FlutterVersion - VERSION = '1.0.0' + VERSION = '1.0.1' end end diff --git a/spec/flutter_version_action_spec.rb b/spec/flutter_version_action_spec.rb index 17c5232..66b5f10 100644 --- a/spec/flutter_version_action_spec.rb +++ b/spec/flutter_version_action_spec.rb @@ -118,5 +118,8 @@ Fastlane::Actions::FlutterVersionAction.available_options.length ).to eq(2) end + it 'has valid plugin version format' do + expect(Fastlane::FlutterVersion::VERSION).to match(/[0-9]+.[0-9]+.[0-9]+/) + end end end