Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jgilchrist committed Nov 24, 2024
1 parent 50212b2 commit 6d28bab
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Release
on:
workflow_dispatch:
push:
branches: fix-windows-build
tags: "v*"

jobs:
Expand Down Expand Up @@ -123,32 +124,3 @@ jobs:
with:
name: tcheran-macos
path: tcheran-${{ needs.metadata.outputs.engine-version }}-macos

release:
needs: [metadata, build-linux, build-windows, build-macos]
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
pattern: tcheran-*
path: bins
merge-multiple: true

- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
changelog_anchor=$(echo ${{ needs.metadata.outputs.engine-version }} | tr -d 'v.')
chmod +x bins/*linux*
chmod +x bins/*macos*
gh release create --draft \
--notes "https://github.com/jgilchrist/tcheran/blob/master/CHANGELOG.md#${changelog_anchor}" \
--title ${{ needs.metadata.outputs.engine-version }} \
${{ needs.metadata.outputs.engine-version }} \
bins/*

0 comments on commit 6d28bab

Please sign in to comment.