[Git][NTPsec/ntpsec][master] Fixes for release machinery.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Oct 10 03:52:38 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
d9227a5f by Eric S. Raymond at 2017-10-09T23:52:12-04:00
Fixes for release machinery.

- - - - -


1 changed file:

- devel/release


Changes:

=====================================
devel/release
=====================================
--- a/devel/release
+++ b/devel/release
@@ -21,17 +21,16 @@ set -e	# Bail out if the tarball build fails
 V=`cat ../VERSION`
 UV=`cat ../VERSION | tr '.' '_'`
 
-# Tag the version
-$do git tag -u ${K} -m "version ${V}" NTPsec_${UV}
-
-# Commit those modifications to the repository.
-
+# Commit pending modifications to the repository.
 if [ -z $do ]; then
-    git commit -Ssecurity at ntpsec.org -s -m "version ${V}"
+    git commit -Ssecurity at ntpsec.org -a -s -m "version ${V}"
 else
-    echo git commit -Ssecurity at ntpsec.org -s -m \"version ${V}\"
+    echo git commit -Ssecurity at ntpsec.org -a -s -m \"version ${V}\"
 fi
 
+# Tag the new head version
+$do git tag -u ${K} -m "version ${V}" NTPsec_${UV}
+
 # Push the repository upstream.
 $do git push  
 $do git push --tags



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d9227a5f327dc05bd78e4375d43185c633c19c49

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d9227a5f327dc05bd78e4375d43185c633c19c49
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171010/3e1a9118/attachment.html>


More information about the vc mailing list