Skip to content

Commit

Permalink
Merge pull request #290 from scottyhq/getversions
Browse files Browse the repository at this point in the history
  • Loading branch information
rabernat committed Feb 27, 2022
2 parents 66015a2 + aae4b84 commit c2cc3ca
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions get_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Get version of LIBARY in every tagged release

LIBRARY=$1
echo "Getting package history for: $LIBRARY"
echo "========="

for crt_tag in $(git tag | tail -r)
do
echo $crt_tag
git checkout $crt_tag --quiet
grep $LIBRARY pangeo-notebook/packages.txt
echo "--"
done

git checkout master

0 comments on commit c2cc3ca

Please sign in to comment.