Skip to content

Commit 8606896

Browse files
authored
Update xml.yml
1 parent 699660c commit 8606896

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/xml.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ jobs:
1515
run: |
1616
export REPOSITORY_NAME=$(basename ${{ github.repository }})
1717
echo $REPOSITORY_NAME
18-
xmlstarlet sel -t -m '//VersionPrefix[1]' -v . -n <Platform.$REPOSITORY_NAME/Platform.$REPOSITORY_NAME.csproj
18+
export PACKAGE_VERSION=$(xmlstarlet sel -t -m '//VersionPrefix[1]' -v . -n <Platform.$REPOSITORY_NAME/Platform.$REPOSITORY_NAME.csproj)
19+
echo $PACKAGE_VERSION
20+
export PACKAGE_RELEASE_NOTES=$(xmlstarlet sel -t -m '//PackageReleaseNotes[1]' -v . -n <Platform.$REPOSITORY_NAME/Platform.$REPOSITORY_NAME.csproj)
21+
echo $PACKAGE_RELEASE_NOTES

0 commit comments

Comments
 (0)