mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
scmversion: Ignore play-store-release tag
This commit is contained in:
parent
ac1db3448b
commit
2f8150f357
|
@ -3,7 +3,7 @@
|
||||||
SET VERSIONFILE="scmversion.cpp"
|
SET VERSIONFILE="scmversion.cpp"
|
||||||
FOR /F "tokens=* USEBACKQ" %%g IN (`git rev-parse HEAD`) do (SET "HASH=%%g")
|
FOR /F "tokens=* USEBACKQ" %%g IN (`git rev-parse HEAD`) do (SET "HASH=%%g")
|
||||||
FOR /F "tokens=* USEBACKQ" %%g IN (`git rev-parse --abbrev-ref HEAD`) do (SET "BRANCH=%%g")
|
FOR /F "tokens=* USEBACKQ" %%g IN (`git rev-parse --abbrev-ref HEAD`) do (SET "BRANCH=%%g")
|
||||||
FOR /F "tokens=* USEBACKQ" %%g IN (`git describe --tags --dirty --exclude latest --exclude preview`) do (SET "TAG=%%g")
|
FOR /F "tokens=* USEBACKQ" %%g IN (`git describe --tags --dirty --exclude latest --exclude preview --exclude play-store-release`) do (SET "TAG=%%g")
|
||||||
FOR /F "tokens=* USEBACKQ" %%g IN (`git log -1 --date=iso8601-strict "--format=%%cd"`) do (SET "CDATE=%%g")
|
FOR /F "tokens=* USEBACKQ" %%g IN (`git log -1 --date=iso8601-strict "--format=%%cd"`) do (SET "CDATE=%%g")
|
||||||
|
|
||||||
SET SIGNATURELINE=// %HASH% %BRANCH% %TAG% %CDATE%
|
SET SIGNATURELINE=// %HASH% %BRANCH% %TAG% %CDATE%
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
VERSION_FILE="scmversion.cpp"
|
VERSION_FILE="scmversion.cpp"
|
||||||
HASH=$(git rev-parse HEAD)
|
HASH=$(git rev-parse HEAD)
|
||||||
BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n')
|
BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n')
|
||||||
TAG=$(git describe --tags --dirty --exclude latest --exclude preview | tr -d '\r\n')
|
TAG=$(git describe --tags --dirty --exclude latest --exclude preview --exclude play-store-release | tr -d '\r\n')
|
||||||
DATE=$(git log -1 --date=iso8601-strict --format=%cd)
|
DATE=$(git log -1 --date=iso8601-strict --format=%cd)
|
||||||
|
|
||||||
SIGNATURE_LINE="// ${HASH} ${BRANCH} ${TAG} ${DATE}"
|
SIGNATURE_LINE="// ${HASH} ${BRANCH} ${TAG} ${DATE}"
|
||||||
|
|
Loading…
Reference in a new issue