fix: create GitHub Release before uploading artifacts
This commit is contained in:
parent
109b11c77f
commit
a9b1992598
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -56,6 +56,8 @@ jobs:
|
|||
run: |
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
PKG_DIR="${DL_DIR}/bread/${VERSION}"
|
||||
gh release create "${GITHUB_REF_NAME}" \
|
||||
--title "bread v${VERSION}" --generate-notes 2>/dev/null || true
|
||||
gh release upload "${GITHUB_REF_NAME}" \
|
||||
"${PKG_DIR}/breadd-x86_64" \
|
||||
"${PKG_DIR}/bread-x86_64" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue