diff options
Diffstat (limited to 'resources/scripts/helpers/build/release/roms')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 6b026552..2f46f39a 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -28,7 +28,13 @@ if [ ! -d bin/ ]; then exit 1 fi -version="$(git describe --tags HEAD)" +if [ -f "version" ]; then + # _src release archive is being used + version="$(cat version)" +else + # git repo is being used + version="$(git describe --tags HEAD)" +fi versiondir="release/${version}" romdir="${versiondir}/rom" distname="libreboot_${version}" |