chore(cask): minor tweak to emacs-app-nightly cask

This commit is contained in:
2021-06-29 01:55:58 +01:00
parent a307eca734
commit dfc928d158
2 changed files with 4 additions and 4 deletions

View File

@@ -7,14 +7,14 @@ cask 'emacs-app-nightly' do
url 'https://github.com/jimeh/emacs-builds/releases/download/Emacs.2021-06-27.9060fbd.master/Emacs.2021-06-27.9060fbd.master.macOS-10-15.x86_64.dmg'
name 'Emacs'
desc 'GNU Emacs text editor'
desc 'GNU Emacs text editor (nightly build)'
homepage 'https://github.com/jimeh/emacs-builds'
livecheck do
url 'https://github.com/jimeh/emacs-builds.git'
strategy :git do |tags|
tags.map do |tag|
tag.gsub(/^Emacs.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
tag.gsub(/^Emacs\.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
end.compact
end
end

View File

@@ -7,14 +7,14 @@ cask 'emacs-app-nightly' do
url '{{ .DownloadURL "macOS-10-15.x86_64" }}'
name 'Emacs'
desc 'GNU Emacs text editor'
desc 'GNU Emacs text editor (nightly build)'
homepage 'https://github.com/jimeh/emacs-builds'
livecheck do
url 'https://github.com/jimeh/emacs-builds.git'
strategy :git do |tags|
tags.map do |tag|
tag.gsub(/^Emacs.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
tag.gsub(/^Emacs\.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
end.compact
end
end