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:
2025-06-27 10:53:39 +01:00
parent 8166168b11
commit 6a7a058d67
2 changed files with 2 additions and 2 deletions

View File

@@ -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]