|
@@ -174,8 +174,8 @@ past, the 'github' helper function should be used as shown below.
|
|
|
|
|
|
------------------------
|
|
------------------------
|
|
# Use a tag or a full commit ID
|
|
# Use a tag or a full commit ID
|
|
-FOO_VERSION = v1.0
|
|
|
|
-FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))
|
|
|
|
|
|
+FOO_VERSION = 1.0
|
|
|
|
+FOO_SITE = $(call github,<user>,<package>,v$(FOO_VERSION))
|
|
------------------------
|
|
------------------------
|
|
|
|
|
|
.Notes
|
|
.Notes
|
|
@@ -184,6 +184,12 @@ FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))
|
|
Buildroot (e.g.: +foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz+),
|
|
Buildroot (e.g.: +foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz+),
|
|
so it is not necessary to specify it in the +.mk+ file.
|
|
so it is not necessary to specify it in the +.mk+ file.
|
|
- When using a commit ID as version, you should use the full 40 hex characters.
|
|
- When using a commit ID as version, you should use the full 40 hex characters.
|
|
|
|
+- When the tag contains a prefix such as +v+ in +v1.0+, then the
|
|
|
|
+ +VERSION+ variable should contain just +1.0+, and the +v+ should be
|
|
|
|
+ added directly in the +SITE+ variable, as illustrated above. This
|
|
|
|
+ ensures that the +VERSION+ variable value can be used to match
|
|
|
|
+ against http://www.release-monitoring.org/[release-monitoring.org]
|
|
|
|
+ results.
|
|
|
|
|
|
If the package you wish to add does have a release section on GitHub, the
|
|
If the package you wish to add does have a release section on GitHub, the
|
|
maintainer may have uploaded a release tarball, or the release may just point
|
|
maintainer may have uploaded a release tarball, or the release may just point
|