File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
1010sudo apt-get install xmlstarlet
1111
12- PACKAGE_VERSION=$( xmlstarlet sel -t -m ' //VersionPrefix[1]' -v . -n < Platform.$REPOSITORY_NAME /Platform.$REPOSITORY_NAME .csproj)
13- PACKAGE_RELEASE_NOTES=$( xmlstarlet sel -t -m ' //PackageReleaseNotes[1]' -v . -n < Platform.$REPOSITORY_NAME /Platform.$REPOSITORY_NAME .csproj)
12+ PACKAGE_VERSION=$( xmlstarlet sel -t -m ' //VersionPrefix[1]' -v . -n < " Platform.$REPOSITORY_NAME /Platform.$REPOSITORY_NAME .csproj" )
13+ PACKAGE_RELEASE_NOTES=$( xmlstarlet sel -t -m ' //PackageReleaseNotes[1]' -v . -n < " Platform.$REPOSITORY_NAME /Platform.$REPOSITORY_NAME .csproj" )
1414
1515TAG_ID=$( curl --request GET --url " https://api.github.com/repos/${GITHUB_REPOSITORY} /releases/tags/${PACKAGE_VERSION} " --header " authorization: Bearer ${GITHUB_TOKEN} " | jq -r ' .id' )
1616
@@ -20,7 +20,7 @@ if [ "$TAG_ID" != "null" ]; then
2020fi
2121
2222curl --request POST \
23- --url https://api.github.com/repos/${ GITHUB_REPOSITORY} /releases \
23+ --url " https://api.github.com/repos/$GITHUB_REPOSITORY /releases" \
2424--header " authorization: Bearer ${GITHUB_TOKEN} " \
2525--header ' content-type: application/json' \
2626--data " {
You can’t perform that action at this time.
0 commit comments