mirror of
https://github.com/YunoHost-Apps/acropolis_ynh.git
synced 2024-09-03 18:06:22 +02:00
Merge pull request #15 from weex/dots-in-version2
change date-based version separator to dot
This commit is contained in:
commit
5039d22b25
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ end
|
|||
|
||||
github = JSON.parse(URI.parse('https://api.github.com/repos/magicstone-dev/acropolis/branches/main').read)
|
||||
last_commit = github["commit"]["sha"]
|
||||
version = Date.parse(github["commit"]["commit"]["author"]["date"]).to_s
|
||||
version = Date.parse(github["commit"]["commit"]["author"]["date"]).to_s.gsub '-', '.'
|
||||
|
||||
url = "https://github.com/magicstone-dev/acropolis/archive/#{last_commit}.tar.gz"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue