diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 8a80d8e4..ec4294e3 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -403,7 +403,7 @@ jobs: artifacts-dir: pr artifacts: ./firmware-${{ steps.version.outputs.version }}.zip - - name: Verify Changed files + - name: Verify version.properties change uses: tj-actions/verify-changed-files@v10.1 id: verify-changed-files with: @@ -417,7 +417,7 @@ jobs: with: draft: true prerelease: true - release_name: ${{ steps.version.outputs.version }} alpha + release_name: Meshtastic Device ${{ steps.version.outputs.version }} alpha - Public Preview tag_name: v${{ steps.version.outputs.version }} body: | Autogenerated by github action, developer should edit as required before publishing... @@ -435,6 +435,11 @@ jobs: asset_name: firmware-${{ steps.version.outputs.version }}.zip asset_content_type: application/zip + - uses: actions/download-artifact@v2 + with: + name: debug-elfs-${{ steps.version.outputs.version }}.zip + path: ./ + - name: Add debug elfs to release uses: actions/upload-release-asset@v1 if: contains(steps.verify-changed-files.outputs.changed_files, 'version.properties') && ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} @@ -442,6 +447,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./*.elf + asset_path: ./debug-elfs-${{ steps.version.outputs.version }}.zip asset_name: debug-elfs-${{ steps.version.outputs.version }}.zip asset_content_type: application/zip diff --git a/version.properties b/version.properties index 99d7b43a..fc0afef8 100644 --- a/version.properties +++ b/version.properties @@ -1,4 +1,4 @@ [VERSION] major = 1 minor = 3 -build = 36 +build = 36 \ No newline at end of file