mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 15:25:18 +00:00
fix: circleci for tagged releases
This commit is contained in:
parent
e2f3fc15e4
commit
27833e14cc
@ -18,13 +18,6 @@ commands:
|
|||||||
name: "Restore source code cache"
|
name: "Restore source code cache"
|
||||||
keys:
|
keys:
|
||||||
- go-src-v1-{{ .Revision }}
|
- go-src-v1-{{ .Revision }}
|
||||||
- run:
|
|
||||||
name: Checkout with tags
|
|
||||||
command: |
|
|
||||||
if [ -n "$CIRCLE_TAG" ]
|
|
||||||
then
|
|
||||||
git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}"
|
|
||||||
fi
|
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: "Restore go modules cache"
|
name: "Restore go modules cache"
|
||||||
|
Loading…
Reference in New Issue
Block a user