feat(stable): 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 stable cask to support the optional version suffix.
This commit is contained in:
2025-06-27 10:53:14 +01:00
parent c88894cf81
commit 8166168b11
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ cask 'emacs-app' do
url 'https://github.com/jimeh/emacs-builds.git'
strategy :git do |tags|
tags.map do |tag|
m = /^Emacs-(\d+\.\d+[a-z]*)$/.match(tag)
m = /^Emacs-(\d+\.\d+[a-z]*(-.+)?)$/.match(tag)
next unless m
m[1]

View File

@@ -12,7 +12,7 @@ cask 'emacs-app' do
url 'https://github.com/jimeh/emacs-builds.git'
strategy :git do |tags|
tags.map do |tag|
m = /^Emacs-(\d+\.\d+[a-z]*)$/.match(tag)
m = /^Emacs-(\d+\.\d+[a-z]*(-.+)?)$/.match(tag)
next unless m
m[1]