Skip to content

Commit

Permalink
chore(ci): hopefully make next release easier
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Aug 4, 2024
1 parent 375fb03 commit 47e7f37
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: "3.8"

- name: Install Dependencies
run: |
Expand All @@ -38,14 +38,25 @@ jobs:
if: github.event_name != 'pull_request'
run: ./release.sh

- name: Upload binaries to release
- name: Auto Release to Latest
uses: crowbarmaster/GH-Automatic-Releases@latest
if: github.event_name != 'pull_request'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: "Latest"
automatic_release_tag: "latest"
prerelease: true
files: |
release/edgetx-sdcard-sounds-*.zip
sounds.json
- name: Auto Create Draft Release
uses: crowbarmaster/GH-Automatic-Releases@latest
if: ${{ startsWith(github.event.ref, 'refs/tags/v') && github.event_name != 'pull_request' }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
prerelease: false
files: |
release/edgetx-sdcard-sounds-*.zip
sounds.json
automatic_release_tag: 'latest'
prerelease: true

0 comments on commit 47e7f37

Please sign in to comment.