Merge pull request #3337 from crazy-max/fix-checkout

Fix checkout behavior and FileVersion
This commit is contained in:
Sebastiaan van Stijn 2021-10-12 15:46:57 +02:00 committed by GitHub
commit 9fab13beac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,8 @@ jobs:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

View File

@ -23,6 +23,8 @@ jobs:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Run
uses: docker/bake-action@v1

View File

@ -33,7 +33,7 @@ cat > ./cli/winresources/versioninfo.json <<EOL
"Comments": "",
"CompanyName": "${COMPANY_NAME}",
"FileDescription": "Docker Client",
"FileVersion": "${VERSION_QUAD}",
"FileVersion": "${VERSION}",
"InternalName": "",
"LegalCopyright": "Copyright © 2015-$(date +'%Y') Docker Inc.",
"LegalTrademarks": "",