Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen754e087d270d
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 620038a6b4..016ce45ede 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -64,7 +64,7 @@ jobs:
- ''
- echo "Creating release in GitHub..."
- ''
- - releaseId=$(curl -u robinshine:@secrets:github-token@ https://api.github.com/repos/theonedev/onedev/releases/tags/v$buildVersion
+ - releaseId=$(curl2 -u robinshine:@secrets:github-token@ https://api.github.com/repos/theonedev/onedev/releases/tags/v$buildVersion
| jq '.id')
- ''
- releaseJson="{\"name\":\"$buildVersion\",\"tag_name\":\"v$buildVersion\",\"body\":\"##