Frank Haverland 3 лет назад
Родитель
Сommit
6fed12e9ad
2 измененных файлов с 7 добавлено и 4 удалено
  1. 4 3
      .github/workflows/build.yaml
  2. 3 1
      Changelog.md

+ 4 - 3
.github/workflows/build.yaml

@@ -126,7 +126,7 @@ jobs:
       if: startsWith(github.ref, 'refs/tags/') 
       with:
         changelogPath: Changelog.md
-        version: ${{ steps.get_version.outputs.version }}
+        version: ${{ steps.get_version.outputs.version-without-v }}
             
     # the release notes will be extracted from changelog 
     - name: Extract release notes
@@ -143,10 +143,11 @@ jobs:
       uses: softprops/action-gh-release@v1
       if: startsWith(github.ref, 'refs/tags/')
       with:
+        name:  ${{ steps.get_version.outputs.version-without-v }}
         body: ${{ steps.extract-release-notes.outputs.release_notes }}
         files: |
-          './firmware/*'   
-          './dist/*'
+          firmware/*   
+          dist/*
 
     # Commit&Push Changelog to master branch. Must be manually merged back to rolling
     - name: Commit changes and push changes

+ 3 - 1
Changelog.md

@@ -1,7 +1,9 @@
-# Versions
+# Changelog
 
 ## [Unreleased]
 
+- auto release creation
+
 ## [10.6.2] - Stability Increase (2022-07-24)
 
 - **NEW 10.6.2**: ignore hidden files in model selection (configuration page)