Works better for all major/point releases if the poky version
isn't hardcoded to 14.0.1. Fixed that.

Signed-off-by: Graydon, Tracy <tracy.gray...@intel.com>
---
 bin/release_scripts/relnotes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/release_scripts/relnotes.py b/bin/release_scripts/relnotes.py
index 6476364..6eccbe4 100755
--- a/bin/release_scripts/relnotes.py
+++ b/bin/release_scripts/relnotes.py
@@ -132,7 +132,7 @@ if __name__ == '__main__':
     os.chdir(RELEASE_DIR)
     files = glob.glob('*.bz2')
     allfiles = filter(lambda f: os.path.isfile(f), files)
-    found = filter(lambda x: '14.0.1' not in x, allfiles)
+    found = filter(lambda x: POKY_VER not in x, allfiles)
     filelist = filter(lambda z: 'fsl' not in z, found)
     filelist.sort()
     for item in filelist:
-- 
2.7.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to