makebranch.sh: use -SNAPSHOT instead of -CURRENT for untagged branch builds
authorJo-Philipp Wich <jo@mein.io>
Fri, 2 Dec 2016 21:18:47 +0000 (22:18 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 2 Dec 2016 21:18:47 +0000 (22:18 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/makebranch.sh

index ac7bbe23e407e66838c4ea4aa2a2bc75c1d9bab0..e92c04c1bf281cbc20d4da00ef9fbeb03184a426 100755 (executable)
@@ -117,12 +117,12 @@ done < feeds.conf.default > feeds.conf.branch && \
        mv feeds.conf.branch feeds.conf.default
 
 sed -e 's!^RELEASE:=.*!RELEASE:='"$codename"'!g' \
-    -e 's!\(VERSION_NUMBER:=\$(if .*\),[^,]*)!\1,'"$version-CURRENT"')!g' \
-    -e 's!\(VERSION_REPO:=\$(if .*\),[^,]*)!\1,'"$base_url/$version-CURRENT"')!g' \
+    -e 's!\(VERSION_NUMBER:=\$(if .*\),[^,]*)!\1,'"$version-SNAPSHOT"')!g' \
+    -e 's!\(VERSION_REPO:=\$(if .*\),[^,]*)!\1,'"$base_url/$version-SNAPSHOT"')!g' \
        include/version.mk > include/version.branch && \
                mv include/version.branch include/version.mk
 
-sed -e 's!http://downloads.lede-project.org/[^"]*!'"$base_url/$version-CURRENT"'!g' \
+sed -e 's!http://downloads.lede-project.org/[^"]*!'"$base_url/$version-SNAPSHOT"'!g' \
        package/base-files/image-config.in > package/base-files/image-config.branch && \
                mv package/base-files/image-config.branch package/base-files/image-config.in