Skip to content

Commit fdc8151

Browse files
committed
fastlane: Simplify regex for tagged build checks
Signed-off-by: Kristofer Rye <[email protected]>
1 parent 0655e4d commit fdc8151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastlane/lib/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def travis_cron?
2727
def tagged?
2828
travis = ENV['TRAVIS_TAG'] && !ENV['TRAVIS_TAG'].empty?
2929
circle = ENV['CIRCLE_TAG'] && !ENV['CIRCLE_TAG'].empty?
30-
github = ENV['GITHUB_REF'] && ENV['GITHUB_REF'] =~ /^refs\/tags\/(.+)$/
30+
github = ENV['GITHUB_REF'] && ENV['GITHUB_REF'] =~ /^refs\/tags\//
3131
github || travis || circle
3232
end
3333

0 commit comments

Comments
 (0)