Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
castdrian committed Nov 20, 2024
1 parent 3093583 commit 19684f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ on:
description: "Release the build"
required: true
type: boolean
testflight:
description: "Is this a TestFlight build"
is_testflight:
description: "TestFlight build"
required: true
type: boolean
workflow_call:
inputs:
ipa_url:
required: true
type: string
testflight:
is_testflight:
required: true
type: boolean
release:
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
unzip -q ${{ env.APP_NAME }}.ipa
VERSION=$(plutil -p Payload/Discord.app/Info.plist | grep CFBundleShortVersionString | cut -d '"' -f 4)
if [[ "${{ github.event.inputs.testflight || inputs.testflight }}" == "true" ]]; then
if [[ "${{ github.event.inputs.is_testflight || inputs.is_testflight }}" == "true" ]]; then
BUILD=$(plutil -p Payload/Discord.app/Info.plist | grep CFBundleVersion | cut -d '"' -f 4)
VERSION="${VERSION}_${BUILD}"
echo "IS_PRERELEASE=true" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remote-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
uses: ./.github/workflows/deploy.yml
with:
ipa_url: ${{ github.event.client_payload.ipa_url }}
testflight: ${{ github.event.client_payload.testflight }}
is_testflight: ${{ github.event.client_payload.is_testflight }}
release: true
secrets: inherit

0 comments on commit 19684f1

Please sign in to comment.