Browse Source

fix release.yml

Yuki Takei 6 years ago
parent
commit
953330496a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/release.yml

+ 3 - 1
.github/workflows/release.yml

@@ -12,6 +12,8 @@ jobs:
 
 
     steps:
     steps:
     - uses: actions/checkout@v1
     - uses: actions/checkout@v1
+      with:
+        fetch-depth: 1
 
 
     - name: Init Git
     - name: Init Git
       run: |
       run: |
@@ -30,7 +32,7 @@ jobs:
 
 
     - name: Commit
     - name: Commit
       run: |
       run: |
-        git commit -m "Release $RELEASE_VERSION"
+        git commit -am "Release $RELEASE_VERSION"
 
 
     - name: Push changes
     - name: Push changes
       uses: ad-m/github-push-action@master
       uses: ad-m/github-push-action@master