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

Commit 7428c50

Browse files
committed
Reset version vars if they are empty strings to ease releasing from upstream projects
1 parent 2218431 commit 7428c50

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)