From dfc928d15878aaed116396808905849ea926f2c0 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 29 Jun 2021 01:55:58 +0100 Subject: [PATCH] chore(cask): minor tweak to emacs-app-nightly cask --- Casks/emacs-app-nightly.rb | 4 ++-- templates/emacs-app-nightly.rb.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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