Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions: Fix issues with new Release process #5845

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Actions: Fix issues with new Release process
vidplace7 committed Jan 13, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 821a5defc7baa91fe20d330222284d0740c65907
31 changes: 17 additions & 14 deletions .github/workflows/main_matrix.yml
Original file line number Diff line number Diff line change
@@ -320,19 +320,23 @@ jobs:
run: ls -lR

- name: Add deb files to release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.long }}
files: |
./output/meshtasticd_${{ steps.version.outputs.long }}_arm64.deb
./output/meshtasticd_${{ steps.version.outputs.long }}_armhf.deb
./output/meshtasticd_${{ steps.version.outputs.long }}_amd64.deb
./output/meshtasticd-${{ steps.version.outputs.deb }}-src.zip
run: |
gh release upload v${{ steps.version.outputs.long }} ./output/meshtasticd_${{ steps.version.outputs.long }}_arm64.deb
gh release upload v${{ steps.version.outputs.long }} ./output/meshtasticd_${{ steps.version.outputs.long }}_armhf.deb
gh release upload v${{ steps.version.outputs.long }} ./output/meshtasticd_${{ steps.version.outputs.long }}_amd64.deb
gh release upload v${{ steps.version.outputs.long }} ./output/meshtasticd-${{ steps.version.outputs.deb }}-src.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version.properties
run: >-
bin/bump_version.py

- name: Install debian tools for changelog
run: |
sudo apt-get update -y
sudo apt-get install -y devscripts

- name: Update debian changelog
run: >-
debian/ci_changelog.sh
@@ -397,9 +401,8 @@ jobs:
run: ls -lR

- name: Add bins and debug elfs to release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.long }}
files: |
./firmware-${{matrix.arch}}-${{ steps.version.outputs.long }}.zip
./debug-elfs-${{matrix.arch}}-${{ steps.version.outputs.long }}.zip
run: |
gh release upload v${{ steps.version.outputs.long }} ./firmware-${{matrix.arch}}-${{ steps.version.outputs.long }}.zip
gh release upload v${{ steps.version.outputs.long }} ./debug-elfs-${{matrix.arch}}-${{ steps.version.outputs.long }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}