]> git.ozlabs.org Git - next-scripts/blobdiff - make_tree_file
create a patch to remove the localversion file for ABAT
[next-scripts] / make_tree_file
index e25b0c5eae0b9a4ddf28dd3032aab8c095dca9a0..b1cc323c4712a2f4f0eadb28da915864551a99e2 100755 (executable)
@@ -39,4 +39,15 @@ git update-ref refs/heads/stable refs/remotes/origin/master
 new_ref=$(echo "next-$d" | git commit-tree 'HEAD^{tree}' -p history -p HEAD)
 git update-ref -m "next-$d" refs/heads/history $new_ref
 
+# Create a patch to remove the localversion-next file
+cat >../nolocalversion-$d.patch <<EOF
+diff --git a/localversion-next b/localversion-next
+deleted file mode 100644
+index d795256..0000000
+--- a/localversion-next
++++ /dev/null
+@@ -1 +0,0 @@
+--next-$d
+EOF
+
 exit 0