File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ distribute_docs:
245245 if [ -f dist/how-to/nav.md ]; then rm dist/how-to/nav.md; fi
246246 if [ -f dist/how-to/index.md ]; then rm dist/how-to/index.md; fi
247247 cp -vR demos dist/
248+ ./package-versions.bash > dist/package-versions.txt
248249
249250release : distribute_docs dist/linux-amd64 dist/macosx-amd64 dist/windows-amd64 dist/raspbian-arm7
250251
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ #
4+ # Crawl the included Caltech Library package and display their versions in GOPATH
5+ #
6+ grep ' github.com/caltechlibrary/' * .go cmds/* /* .go | cut -d \" -f 2 | sort -u | while read PNAME; do
7+ echo -n " $PNAME -- " ;
8+ V=$( grep ' Version = `' " $GOPATH /src/$PNAME /$( basename $PNAME ) .go" | cut -d \` -f 2)
9+ if [ " $V " = " " ]; then
10+ echo " Unknown"
11+ else
12+ echo " $V "
13+ fi
14+ done
You can’t perform that action at this time.
0 commit comments