Skip to content

The Unified and Autonomous Development Platform

Fix build error

Robin Shenff2a4722f0ce
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 7c5c29c102..cbf651b47c 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -88,7 +88,7 @@ jobs:
- fi
- ''
- echo "Creating release in GitHub..."
- - releaseId=$(curl -u robinshine:@secrets:github-token@ https://api.github.com/repos/theonedev/onedev/releases/tags/v$releaseName
+ - releaseId=$(curl -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\":\"##