Skip to content

Commit

Permalink
Add script to get package name
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Aug 24, 2020
1 parent 64df376 commit 944b124
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/get-package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e

version=$(grep "__title__ = " spacy/about.py)
version=${version/__title__ = }
version=${version/\'/}
version=${version/\'/}
version=${version/\"/}
version=${version/\"/}

echo $version

0 comments on commit 944b124

Please sign in to comment.