mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 13:02:07 +00:00
Allow git describe to get the version for FreeBSD and Cygwin in CI (#1640)
* Specify `safe.directory` * Fetch tags * Fetch all commits
This commit is contained in:
@@ -45,7 +45,7 @@ tryCmp () {
|
||||
}
|
||||
|
||||
# Add the version constants test, outputting the closest tag to the HEAD
|
||||
if git describe --tags --abbrev=0 >version.out; then
|
||||
if git -c safe.directory='*' describe --tags --abbrev=0 >version.out; then
|
||||
$RGBASM --version >>version.out
|
||||
cat >version.asm <<EOF
|
||||
IF !DEF(__RGBDS_RC__)
|
||||
|
||||
Reference in New Issue
Block a user