diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-08-14 00:09:58 +0300 |
---|---|---|
committer | netdatabot <bot@netdata.cloud> | 2022-08-15 07:30:02 -0400 |
commit | 2bae32462e0a8f1e275484dfab8be197c60a8d35 (patch) | |
tree | 7a548f9bcacc203f97c65902d59467edf96b106e | |
parent | db748a5020aa080e629691ccbc3bf231fed40456 (diff) |
fix(ci): fix fetching tags in Build workflow (#13517)
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b31cc261f..26849312f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: id: fix-tags if: github.event_name != 'push' run: | - git fetch -f origin ${{ github.ref }}:${{ github.ref }} + git fetch --tags --force - name: Mark Stable id: channel if: github.event_name == 'workflow_dispatch' && github.event.inputs.type != 'nightly' @@ -111,7 +111,7 @@ jobs: id: fix-tags if: github.event_name != 'push' run: | - git fetch -f origin ${{ github.ref }}:${{ github.ref }} + git fetch --tags --force - name: Mark Stable id: channel if: github.event_name == 'workflow_dispatch' && github.event.inputs.type != 'nightly' |