IGListKit/scripts/version.sh
Nate Stedman c9aab95df8 Use script to fetch version for podspec
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (#1382) when splitting the libraries, so this avoids having three places where the version is declared.

Reviewed By: iperry90

Differential Revision: D18449842

fbshipit-source-id: 2991180ee14003b8ebe1f4ef601036404315dfd6
2019-11-13 05:30:27 -08:00

5 lines
125 B
Bash
Executable file

#!/bin/bash
cd "$(dirname "$(dirname "$0")")" || exit 1
exec defaults read "$(pwd)/Source/Info" CFBundleShortVersionString