mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
Replace softprops/action-gh-release with official gh CLI
https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
This commit is contained in:
parent
a1cc0874aa
commit
48b52d74e0
1 changed files with 15 additions and 10 deletions
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
|
|
@ -103,14 +103,19 @@ jobs:
|
||||||
run: find artifacts -type f
|
run: find artifacts -type f
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@v2
|
env:
|
||||||
with:
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
name: mdcms ${{ github.ref_name }}
|
run: |
|
||||||
draft: false
|
PRERELEASE=""
|
||||||
prerelease: ${{ contains(github.ref_name, '-') }}
|
if [[ "${{ github.ref_name }}" == *"-"* ]]; then
|
||||||
generate_release_notes: true
|
PRERELEASE="--prerelease"
|
||||||
files: |
|
fi
|
||||||
artifacts/mdcms-linux-amd64/mdcms-linux-amd64
|
gh release create "${{ github.ref_name }}" \
|
||||||
artifacts/mdcms-macos-arm64/mdcms-macos-arm64
|
--repo "${{ github.repository }}" \
|
||||||
artifacts/mdcms-windows-amd64/mdcms-windows-amd64.exe
|
--title "mdcms ${{ github.ref_name }}" \
|
||||||
|
--generate-notes \
|
||||||
|
$PRERELEASE \
|
||||||
|
artifacts/mdcms-linux-amd64/mdcms-linux-amd64 \
|
||||||
|
artifacts/mdcms-macos-arm64/mdcms-macos-arm64 \
|
||||||
|
artifacts/mdcms-windows-amd64/mdcms-windows-amd64.exe \
|
||||||
artifacts/deb-package/*.deb
|
artifacts/deb-package/*.deb
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue