Skip to content

Commit

Permalink
Fix repository id parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycpadilla authored Jun 18, 2024
1 parent cc84ac1 commit 888b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-authentikit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
response=$(curl -u ${{ secrets.OSSRH_USERNAME }}:${{ secrets.OSSRH_PASSWORD }} -X GET "https://s01.oss.sonatype.org/service/local/staging/profile_repositories")
echo "Response: $response"
repo_id=$(echo $response | xmllint --xpath "string(//stagingProfileRepository[./profileName[contains(text(), 'authentikit')]]/repositoryId)" -)
repo_id=$(echo ${response} | xmllint --xpath "string(//stagingProfileRepository/repositoryId)" -)
echo "Repository ID: $repo_id"
echo "::set-output name=repo_id::$repo_id"
Expand Down

0 comments on commit 888b48d

Please sign in to comment.