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