diff --git a/Casks/emacs-app-pretest.rb b/Casks/emacs-app-pretest.rb index 850bbb3f..75661764 100644 --- a/Casks/emacs-app-pretest.rb +++ b/Casks/emacs-app-pretest.rb @@ -22,7 +22,7 @@ cask 'emacs-app-pretest' do url 'https://github.com/jimeh/emacs-builds.git' strategy :git do |tags| tags.map do |tag| - m = /^Emacs-(.+-pretest)$/.match(tag) + m = /^Emacs-(.+-pretest(-.+)?)$/.match(tag) next unless m m[1] diff --git a/templates/emacs-app-pretest.rb.tpl b/templates/emacs-app-pretest.rb.tpl index 29b7eaf0..ad2a844a 100644 --- a/templates/emacs-app-pretest.rb.tpl +++ b/templates/emacs-app-pretest.rb.tpl @@ -12,7 +12,7 @@ cask 'emacs-app-pretest' do url 'https://github.com/jimeh/emacs-builds.git' strategy :git do |tags| tags.map do |tag| - m = /^Emacs-(.+-pretest)$/.match(tag) + m = /^Emacs-(.+-pretest(-.+)?)$/.match(tag) next unless m m[1]