Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
ci: update openhab source url to github
Browse files Browse the repository at this point in the history
  • Loading branch information
jimtng committed Sep 21, 2022
1 parent 0a94a6e commit 792015e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rakelib/openhab.rake
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,12 @@ namespace :openhab do
state(task.name) do
openhab_zip = "openhab-#{@openhab_version}.zip"
download_url = case @openhab_version
when /.*\.(M\d)|(RC\d)/
'https://openhab.jfrog.io/openhab/libs-milestone-local/org/openhab/distro/openhab/'\
"#{@openhab_version}/#{openhab_zip}"
when /.*-SNAPSHOT/
'https://ci.openhab.org/job/openHAB3-Distribution/lastSuccessfulBuild/artifact/'\
"distributions/openhab/target/#{openhab_zip}"
else
'https://openhab.jfrog.io/openhab/libs-release/org/openhab/distro/openhab/'\
# The same for releases and milestones
'https://github.com/openhab/openhab-distro/releases/download/'\
"#{@openhab_version}/#{openhab_zip}"
end
Dir.chdir(OPENHAB_DIR) do
Expand Down

0 comments on commit 792015e

Please sign in to comment.