Skip to content

Commit 076a94d

Browse files
committed
Update archive URL on Github
1 parent da297a5 commit 076a94d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ruby/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def filename
1010
end
1111

1212
def zipfile
13-
"#{filename}.zip"
13+
"#{version}.zip"
1414
end
1515

1616
task :clean do
@@ -21,7 +21,7 @@ end
2121
desc "Fetch latest build from the GitHub releases"
2222
task :update_build do
2323
unless File.exist?(zipfile)
24-
sh "curl -L -O 'https://github.com/alloy/terminal-notifier/releases/download/#{version}/terminal-notifier-#{version}.zip'"
24+
sh "curl -L -O 'https://github.com/alloy/terminal-notifier/archive/#{zipfile}'"
2525
end
2626

2727
rm_rf "vendor"

0 commit comments

Comments
 (0)