summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-08-14 00:09:58 +0300
committerGitHub <noreply@github.com>2022-08-13 17:09:58 -0400
commitdd6dd32a09d15c297190eec4965109bfd43f51ea (patch)
treef752d8af3c419e93fab0e522be6f46238620e114 /.github
parent253e4013065c822d7f7733fe863aadffa0a25916 (diff)
fix(ci): fix fetching tags in Build workflow (#13517)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
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'