Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Updated version trackers with pypi versions instead of github
Browse files Browse the repository at this point in the history
  • Loading branch information
scmanjarrez committed Apr 28, 2023
1 parent 19ba6ef commit 00006c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bingimagecreator.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Fetch release version
run: |
latest=$(curl -sL https://api.github.com/repos/acheong08/BingImageCreator/releases/latest | jq -r ".tag_name")
latest=$(curl -sL https://pypi.org/pypi/bingimagecreator/json | jq -r ".info.version")
curr=$(sed -E -n 's/BingImageCreator==([a-z0-9.]+)/\1/p' requirements.txt)
echo "new=$([[ "$latest" = "$curr" ]] && echo False || echo True)" >> $GITHUB_ENV
echo "latest=$latest" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/edgegpt.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Fetch release version
run: |
latest=$(curl -sL https://api.github.com/repos/acheong08/EdgeGPT/releases/latest | jq -r ".tag_name")
latest=$(curl -sL https://pypi.org/pypi/edgegpt/json | jq -r ".info.version")
curr=$(sed -E -n 's/EdgeGPT==([a-z0-9.]+)/\1/p' requirements.txt)
echo "new=$([[ "$latest" = "$curr" ]] && echo False || echo True)" >> $GITHUB_ENV
echo "latest=$latest" >> $GITHUB_ENV
Expand Down

0 comments on commit 00006c5

Please sign in to comment.