Browse Source

cicd: fetch-depth 0 needed for goreleaser changelog

jamesread 3 years ago
parent
commit
a792a0aa55
2 changed files with 4 additions and 0 deletions
  1. 2 0
      .github/workflows/build-snapshot.yml
  2. 2 0
      .github/workflows/build-tag.yml

+ 2 - 0
.github/workflows/build-snapshot.yml

@@ -11,6 +11,8 @@ jobs:
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v3
         uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
 
 
       - name: Set up QEMU
       - name: Set up QEMU
         id: qemu
         id: qemu

+ 2 - 0
.github/workflows/build-tag.yml

@@ -12,6 +12,8 @@ jobs:
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v3
         uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
 
 
       - name: Set up QEMU
       - name: Set up QEMU
         id: qemu
         id: qemu