From 797637eab349ec8204e398513db25eb4e71f144c Mon Sep 17 00:00:00 2001 From: Daniel Granerud Date: Thu, 28 May 2020 15:34:14 +0200 Subject: [PATCH 1/2] Set gem version dynamically --- lib/jekyll-material-icon-tag/version.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/jekyll-material-icon-tag/version.rb b/lib/jekyll-material-icon-tag/version.rb index 17c5ff2..4300f25 100644 --- a/lib/jekyll-material-icon-tag/version.rb +++ b/lib/jekyll-material-icon-tag/version.rb @@ -1,3 +1,4 @@ module JekyllMaterialIconTag - VERSION = "1.0.4" + @version = ENV['GEM_VERSION'] || '0.0.1-INVALID' + VERSION = @version end \ No newline at end of file From 81b7150604d3dbd0c37375afc7b061097f925cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Ulsberg?= Date: Thu, 28 May 2020 15:37:42 +0200 Subject: [PATCH 2/2] Add newline at end of file. --- lib/jekyll-material-icon-tag/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll-material-icon-tag/version.rb b/lib/jekyll-material-icon-tag/version.rb index 4300f25..c341733 100644 --- a/lib/jekyll-material-icon-tag/version.rb +++ b/lib/jekyll-material-icon-tag/version.rb @@ -1,4 +1,4 @@ module JekyllMaterialIconTag @version = ENV['GEM_VERSION'] || '0.0.1-INVALID' VERSION = @version -end \ No newline at end of file +end