mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Version info
This commit is contained in:
parent
3e11343e8b
commit
9aff9d9346
4 changed files with 5 additions and 10 deletions
10
.github/workflows/snapshots.yml
vendored
10
.github/workflows/snapshots.yml
vendored
|
|
@ -1,14 +1,10 @@
|
|||
name: build-snapshot
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'components/**'
|
||||
- 'plugins/**'
|
||||
- 'sdk/**'
|
||||
- 'src/**'
|
||||
release:
|
||||
types: [unpublished]
|
||||
branches:
|
||||
- master
|
||||
- v1.1.x
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
<UseVersionInfo Value="True"/>
|
||||
<MajorVersionNr Value="1"/>
|
||||
<MinorVersionNr Value="1"/>
|
||||
<Attributes pvaPreRelease="True"/>
|
||||
<StringTable FileDescription="Double Commander" InternalName="DOUBLECMD" LegalCopyright="Copyright (C) 2006-2023 Alexander Koblov" ProductName="Double Commander"/>
|
||||
</VersionInfo>
|
||||
<BuildModes Count="5">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export REVISION_INC=$1/dcrevision.inc
|
|||
rm -f $REVISION_INC
|
||||
cp ../units/dcrevision.inc $REVISION_INC
|
||||
|
||||
export REVISION=$(git -C $1 rev-list --count HEAD)
|
||||
export REVISION=$(git -C $1 rev-list --count master..HEAD)
|
||||
export COMMIT=$(git -C $1 rev-parse --short HEAD)
|
||||
|
||||
if [ $REVISION ] && [ $COMMIT ]; then
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ del /Q %REVISION_TXT% 2> nul
|
|||
del /Q %REVISION_INC% 2> nul
|
||||
copy ..\units\dcrevision.inc %REVISION_INC% > nul
|
||||
|
||||
git -C %1 rev-list --count HEAD > %REVISION_TXT%
|
||||
git -C %1 rev-list --count master..HEAD > %REVISION_TXT%
|
||||
|
||||
IF ERRORLEVEL 1 goto EXIT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue