|
|
@@ -326,13 +326,13 @@ jobs:
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
|
uses: battila7/get-version-action@v2
|
|
|
|
|
|
- # the changelog [unreleased] will now be changed to the release version
|
|
|
- - name: Update changelog
|
|
|
- uses: thomaseizinger/keep-a-changelog-new-release@v1
|
|
|
- if: startsWith(github.ref, 'refs/tags/')
|
|
|
- with:
|
|
|
- changelogPath: Changelog.md
|
|
|
- version: ${{ steps.get_version.outputs.version-without-v }}
|
|
|
+# # the changelog [unreleased] will now be changed to the release version
|
|
|
+# - name: Update changelog
|
|
|
+# uses: thomaseizinger/keep-a-changelog-new-release@v1
|
|
|
+# if: startsWith(github.ref, 'refs/tags/')
|
|
|
+# with:
|
|
|
+# changelogPath: Changelog.md
|
|
|
+# version: ${{ steps.get_version.outputs.version-without-v }}
|
|
|
|
|
|
# the release notes will be extracted from changelog
|
|
|
- name: Extract release notes
|
|
|
@@ -341,7 +341,6 @@ jobs:
|
|
|
uses: ffurrer2/extract-release-notes@v1
|
|
|
with:
|
|
|
changelog_file: Changelog.md
|
|
|
-
|
|
|
|
|
|
# Releases should only be created on master by tagging the last commit.
|
|
|
# all artifacts in firmware folder pushed to the release
|
|
|
@@ -358,15 +357,15 @@ jobs:
|
|
|
files: |
|
|
|
release/*
|
|
|
|
|
|
- # Commit&Push Changelog to master branch. Must be manually merged back to rolling
|
|
|
- - name: Commit changes and push changes
|
|
|
- if: startsWith(github.ref, 'refs/tags/')
|
|
|
- run: |
|
|
|
- git config user.name github-actions
|
|
|
- git config user.email github-actions@github.com
|
|
|
- git add Changelog.md
|
|
|
- git commit Changelog.md -m "Update Changelog.md for ${{github.event.inputs.versionIncrement}} release"
|
|
|
- git push origin HEAD:master
|
|
|
+# # Commit&Push Changelog to master branch. Must be manually merged back to rolling
|
|
|
+# - name: Commit changes and push changes
|
|
|
+# if: startsWith(github.ref, 'refs/tags/')
|
|
|
+# run: |
|
|
|
+# git config user.name github-actions
|
|
|
+# git config user.email github-actions@github.com
|
|
|
+# git add Changelog.md
|
|
|
+# git commit Changelog.md -m "Update Changelog.md for ${{github.event.inputs.versionIncrement}} release"
|
|
|
+# git push origin HEAD:master
|
|
|
|
|
|
|
|
|
#########################################################################################
|