mirror of
https://github.com/TangentFoxy/lua-date.git
synced 2025-07-27 18:42:18 +00:00
rockspec: use git+https:// for git repository URL
GitHub is going to disable unencrypted Git protocol, so `git://` URLs will stop working soon (see [1]). Bumped the rockspec revision. [1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/
This commit is contained in:
committed by
Thijs Schreijer
parent
8d74567cf9
commit
e5d38bb4e8
@@ -1,6 +1,6 @@
|
||||
local package_name = "date"
|
||||
local package_version = "2.2"
|
||||
local rockspec_revision = "1"
|
||||
local rockspec_revision = "2"
|
||||
local github_account_name = "Tieske"
|
||||
local github_repo_name = package_name
|
||||
local git_checkout = package_version == "dev" and "master" or ("version_"..package_version)
|
||||
@@ -9,7 +9,7 @@ package = package_name
|
||||
version = package_version .. "-" .. rockspec_revision
|
||||
|
||||
source = {
|
||||
url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git",
|
||||
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
|
||||
branch = git_checkout
|
||||
}
|
||||
|
Reference in New Issue
Block a user