Skip to content
This repository was archived by the owner on Feb 28, 2019. It is now read-only.

Commit fe31143

Browse files
committed
Reset vbersions if they are empty strings
1 parent 6b40d9b commit fe31143

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks/release.rake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
WORKSPACE_DIR = File.expand_path(File.dirname(__FILE__) + '/..')
22

3+
ENV['PREVIOUS_PRODUCT_VERSION'] = nil if ENV['PREVIOUS_PRODUCT_VERSION'].to_s == ''
4+
ENV['PRODUCT_VERSION'] = nil if ENV['PRODUCT_VERSION'].to_s == ''
5+
36
def in_dir(dir)
47
current = Dir.pwd
58
begin

0 commit comments

Comments
 (0)