Revision: 74209
http://sourceforge.net/p/brlcad/code/74209
Author: starseeker
Date: 2019-10-22 12:06:44 +0000 (Tue, 22 Oct 2019)
Log Message:
-----------
Order the tagging so that it matches with the branch dates - this way github
doesn't end up with all the old branch archivings as recent 'releases'
Modified Paths:
--------------
brlcad/trunk/misc/repoconv/archive_branches.sh
Modified: brlcad/trunk/misc/repoconv/archive_branches.sh
===================================================================
--- brlcad/trunk/misc/repoconv/archive_branches.sh 2019-10-21 21:08:01 UTC
(rev 74208)
+++ brlcad/trunk/misc/repoconv/archive_branches.sh 2019-10-22 12:06:44 UTC
(rev 74209)
@@ -123,7 +123,9 @@
for i in "${branches[@]}"
do
echo "Archiving $i"
- git tag archived/$i refs/heads/$i
+ git checkout refs/heads/$i
+ GIT_COMMITTER_DATE="$(git show --format=%ad | head -1)"
GIT_AUTHOR_DATE="$(git show --format=%ad | head -1)" git tag -a archived_$i -m
"Archiving branch $i"
+ git checkout master
git branch -D $i
done
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits