mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
ci: Fetch tags while building so the binaries know
We weren't compiling with tags, causing the version command to just return the git commit hash, rather than a valid version string.
This commit is contained in:
parent
345dc42fad
commit
ae9c71c255
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -32,6 +32,7 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Rebase
|
||||
# We can't rebase if we're on master already.
|
||||
@ -94,6 +95,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
|
Loading…
Reference in New Issue
Block a user