mirror of
https://github.com/jimeh/homebrew-emacs-builds.git
synced 2026-02-19 05:16:40 +00:00
feat(pretest): add support for build variants via version suffix
When a new build needs to be produced for an existing version of Emacs, the build will have a `-<num>` suffix added to it's version string. This updates the pretest cask to support the optional version suffix.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user