CI: set prerelease=false for release tags
This commit is contained in:
parent
4250b4be0e
commit
4edd356151
1 changed files with 2 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ jobs:
|
||||||
-d "{
|
-d "{
|
||||||
\"tag_name\": \"${TAG}\",
|
\"tag_name\": \"${TAG}\",
|
||||||
\"name\": \"BOS ${TAG}\",
|
\"name\": \"BOS ${TAG}\",
|
||||||
\"prerelease\": true,
|
\"prerelease\": false,
|
||||||
\"body\": \"ISO image attached below.\\n\\nSee the [README](https://github.com/Breadway/bos#testing-in-a-vm) for VM testing instructions.\"
|
\"body\": \"ISO image attached below.\\n\\nSee the [README](https://github.com/Breadway/bos#testing-in-a-vm) for VM testing instructions.\"
|
||||||
}")
|
}")
|
||||||
RELEASE_ID=$(echo "${RELEASE}" | python3 -c "import json,sys; print(json.load(sys.stdin)['id'])")
|
RELEASE_ID=$(echo "${RELEASE}" | python3 -c "import json,sys; print(json.load(sys.stdin)['id'])")
|
||||||
|
|
@ -202,6 +202,6 @@ jobs:
|
||||||
gh release create "${TAG}" \
|
gh release create "${TAG}" \
|
||||||
--repo "Breadway/bos" \
|
--repo "Breadway/bos" \
|
||||||
--title "BOS ${TAG}" \
|
--title "BOS ${TAG}" \
|
||||||
--prerelease \
|
\
|
||||||
--notes-file /tmp/gh-release-notes.md \
|
--notes-file /tmp/gh-release-notes.md \
|
||||||
2>/dev/null || echo "GitHub release already exists — skipping"
|
2>/dev/null || echo "GitHub release already exists — skipping"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue