Skip to content

Commit

Permalink
Support lookup by appID & lookups appVerID
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaMisty committed May 9, 2022
1 parent 7bc231b commit dfd6096
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ jobs:
# available operations: lookup, historyver, download, historyver_id, download_id
op=${{ github.event.inputs.operation }}
if [[ "$op" == "lookup" ]]; then
python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }}
if [[ "${{ github.event.inputs.appBundleId }}" != "" ]]; then
python3 ipatool-py/main.py --json lookup --get-verid -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }}
else
python3 ipatool-py/main.py --json lookup --get-verid -i ${{ github.event.inputs.appId }} -c ${{ github.event.inputs.appCountry }}
fi
elif [[ "$op" == historyver* ]]; then
if [[ "$op" == "historyver" ]]; then
python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }} \
Expand Down

0 comments on commit dfd6096

Please sign in to comment.