diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dfb83ddac..486872b8d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,6 +30,9 @@ jobs: - name: Checkout uses: actions/checkout@v2.0.0 + - name: Fetch tags for auto versioning + run: git fetch --prune --unshallow --tags + - name: Set up Python 3.6 uses: actions/setup-python@v2 with: diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index 93c2a90a3..027a537f8 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -15,10 +15,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2.0.0 - with: - # Need to fetch full history to get pyln versions identified - # correctly - fetch-depth: 0 + + - name: Fetch tags for auto versioning + run: git fetch --prune --unshallow --tags - name: Set up Python 3.6 uses: actions/setup-python@v2