Skip to content

Commit

Permalink
[auto release] Trying to get the release upload to target the same re…
Browse files Browse the repository at this point in the history
…lease as the release creation. Else I make releases without any binary files, which is a bit useless.
  • Loading branch information
christofmuc committed Jul 13, 2023
1 parent 4fa99b4 commit c453197
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/builds-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ jobs:
with:
file: build/KnobKraft_Orm-${{env.ORM_VERSION}}-Darwin.dmg
tags: true
draft: true

1 change: 0 additions & 1 deletion .github/workflows/builds-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: builds/KnobKraft_Orm-${{env.ORM_VERSION}}-Linux.tar.gz

tags: true

- name: Setup Sentry CLI
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/builds-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ jobs:
APPCAST_ACCESS_TOKEN: ${{ secrets.APPCAST_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload executable into release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: Builds/The-Orm/knobkraft_orm_setup_${{env.ORM_VERSION}}.exe
tags: true


- name: Delete key file
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand Down
2 changes: 1 addition & 1 deletion make_github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Create a release payload with the release notes
release_payload = {
"tag_name": version,
"name": f"Version {version}",
"name": f"{version}",
"body": release_notes,
"draft": False,
"prerelease": False
Expand Down

0 comments on commit c453197

Please sign in to comment.