diff --git a/Casks/emacs-app-nightly.rb b/Casks/emacs-app-nightly.rb index 9e6390d1..ab0844e6 100644 --- a/Casks/emacs-app-nightly.rb +++ b/Casks/emacs-app-nightly.rb @@ -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 diff --git a/templates/emacs-app-nightly.rb.tpl b/templates/emacs-app-nightly.rb.tpl index 7d0df00c..7455fb9a 100644 --- a/templates/emacs-app-nightly.rb.tpl +++ b/templates/emacs-app-nightly.rb.tpl @@ -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