Skip to content

Commit

Permalink
👷Use SDK version format supported by backend (#2353)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan authored Jul 25, 2023
1 parent 6bec25a commit 4c23a3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/lib/build-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ switch (buildMode) {
break
case 'canary': {
const commitSha1 = execSync('git rev-parse HEAD').toString().trim()
sdkVersion = `${lernaJson.version}+${commitSha1}`
// TODO when tags would allow '+' characters
// use build separator (+) instead of prerelease separator (-)
sdkVersion = `${lernaJson.version}-${commitSha1}`
break
}
default:
Expand Down

0 comments on commit 4c23a3c

Please sign in to comment.