summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/github-releases.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/github-releases.bbclass b/meta/classes-recipe/github-releases.bbclass
new file mode 100644
index 0000000000..ed83b83731
--- /dev/null
+++ b/meta/classes-recipe/github-releases.bbclass
@@ -0,0 +1,3 @@
1GITHUB_BASE_URI ?= "https://github.com/${BPN}/${BPN}/releases/"
2UPSTREAM_CHECK_URI ?= "${GITHUB_BASE_URI}"
3UPSTREAM_CHECK_REGEX ?= "releases/tag/v?(?P<pver>\d+(\.\d+)+)"