Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appveyor.yml: git fails on appveyor on branch builds #67

Merged
merged 2 commits into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ install:
- gcc --version

build_script:
- ps: $env:VERSION = "$(git describe)"
- ps: $env:VERSION = "$(git describe --always)"
- go run build\ci.go install
- 7z a core-geth-win64-%VERSION%.zip .\build\bin\geth.exe
- ps: Get-FileHash core-geth-win64-$env:VERSION.zip -Algorithm SHA256
Expand Down
4 changes: 2 additions & 2 deletions build/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash

GETH_ARCHIVE_NAME="core-geth-${TRAVIS_OS_NAME}-$(git describe)"
GETH_ARCHIVE_NAME="core-geth-${TRAVIS_OS_NAME}-$(git describe --always)"
zip -j "$GETH_ARCHIVE_NAME.zip" build/bin/geth

shasum -a 256 $GETH_ARCHIVE_NAME.zip
shasum -a 256 $GETH_ARCHIVE_NAME.zip > $GETH_ARCHIVE_NAME.zip.sha256

ALLTOOLS_ARCHIVE_NAME="core-geth-alltools-${TRAVIS_OS_NAME}-$(git describe)"
ALLTOOLS_ARCHIVE_NAME="core-geth-alltools-${TRAVIS_OS_NAME}-$(git describe --always)"
zip -j "$ALLTOOLS_ARCHIVE_NAME.zip" build/bin/*

shasum -a 256 $ALLTOOLS_ARCHIVE_NAME.zip
Expand Down
4 changes: 2 additions & 2 deletions build/deploy_arm.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env bash

GOPATH=~/go_arm
GETH_ARCHIVE_NAME="core-geth-arm-$(git describe)"
GETH_ARCHIVE_NAME="core-geth-arm-$(git describe --always)"
zip -j "$GETH_ARCHIVE_NAME.zip" build/bin/geth

shasum -a 256 $GETH_ARCHIVE_NAME.zip
shasum -a 256 $GETH_ARCHIVE_NAME.zip > $GETH_ARCHIVE_NAME.zip.sha256

ALLTOOLS_ARCHIVE_NAME="core-geth-alltools-arm-$(git describe)"
ALLTOOLS_ARCHIVE_NAME="core-geth-alltools-arm-$(git describe --always)"
zip -j "$ALLTOOLS_ARCHIVE_NAME.zip" build/bin/*

shasum -a 256 $ALLTOOLS_ARCHIVE_NAME.zip
Expand Down