summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2019-06-09 22:07:50 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2019-06-09 22:07:50 +0200
commit9c5ec0677f1f7857368c98e2ebb27fc89d3b7b56 (patch)
tree1e2eaef9cb91955075ee198b5a7641978fe1bd0d /scripts
parenta7d052c0303a6656d450c2a327dab5c495dbc8a7 (diff)
downloadkernel-9c5ec0677f1f7857368c98e2ebb27fc89d3b7b56.tar.gz
kernel-9c5ec0677f1f7857368c98e2ebb27fc89d3b7b56.tar.xz
kernel-9c5ec0677f1f7857368c98e2ebb27fc89d3b7b56.zip
automatically commit after a check
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rawhide-rc.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/rawhide-rc.sh b/scripts/rawhide-rc.sh
index 8d5a37ffd..c4e77ae42 100755
--- a/scripts/rawhide-rc.sh
+++ b/scripts/rawhide-rc.sh
@@ -57,5 +57,8 @@ perl -p -i -e 's|%define gitrev.*|%define gitrev 0|' kernel.spec
perl -p -i -e 's|%global baserelease.*|%global baserelease 1|' kernel.spec
# rpmdev-bumpspec -c "Linux v$MAJORVER.$BASE-rc$RC" kernel.spec
+# echo "Don't forget to bump kernel-tools"
-echo "Don't forget to bump kernel-tools"
+git diff kernel.spec sources
+sleep 1 || exit 1
+git commit -m "Linux v$MAJORVER.$BASE-rc$RC" kernel.spec sources