File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1010    steps :
1111      - name : Checkout 
1212        uses : actions/checkout@v4 
13+         with :
14+           fetch-depth : 0 
1315      - name : Setup Go 
1416        uses : actions/setup-go@v5 
1517        with :
@@ -19,10 +21,19 @@ jobs:
1921        with :
2022          username : ${{ secrets.DOCKERHUB_USERNAME }} 
2123          password : ${{ secrets.DOCKERHUB_TOKEN }} 
24+       - name : Generate a changelog 
25+         uses : orhun/git-cliff-action@v3 
26+         id : git-cliff 
27+         with :
28+           config : cliff.toml 
29+           args : -v --latest --strip header 
30+         env :
31+           GITHUB_REPO : ${{ github.repository }} 
32+           OUTPUT : CHANGES.md 
2233      - name : GoReleaser 
2334        uses : goreleaser/goreleaser-action@v5 
2435        with :
2536          version : latest 
26-           args : release --rm-dist  
37+           args : release --clean --release-notes=CHANGES.md  
2738        env :
2839          GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
Original file line number Diff line number Diff line change 11dist /
2+ CHANGES.md 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments