Skip to content

Commit

Permalink
Merge pull request #382 from jerensl/fix/ci-meshery-extension-package…
Browse files Browse the repository at this point in the history
…-repo

ci(release-notes): pull the version from extensions package repo
  • Loading branch information
jerensl authored Oct 3, 2024
2 parents e621ebf + 75aec60 commit b676910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/meshery-extension-release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
ACCESS_TOKEN: ${{ secrets.RELEASEDRAFTER_PAT }}
run: |
release_tag=$(curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5labs/meshery-extensions/releases/latest | jq -r ".tag_name")
release_tag=$(curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5labs/meshery-extensions-packages/releases/latest | jq -r ".tag_name")
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
current_tag=$(<build/meshery-extensions.version)
echo "current_tag=$current_tag" >> $GITHUB_OUTPUT
Expand All @@ -26,7 +26,7 @@ jobs:
env:
ACCESS_TOKEN: ${{ secrets.RELEASEDRAFTER_PAT }}
run: |
curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5labs/meshery-extensions/releases/latest > latest_release.json
curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5labs/meshery-extensions-packages/releases/latest > latest_release.json
export RELEASE_TAG=$( cat latest_release.json | jq '.["tag_name"]' | tr -d '"')
export PRERELEASE=$( cat latest_release.json | jq '.["prerelease"]' | tr -d '"')
Expand Down

0 comments on commit b676910

Please sign in to comment.