Skip to content

Commit

Permalink
chore: github option for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 23, 2024
1 parent 91adbfd commit 52bd8d5
Show file tree
Hide file tree
Showing 4 changed files with 1,059 additions and 1,052 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
required: true
type: boolean
default: true
github:
description: "Should we publish on Github?"
default: true
required: true
type: boolean
sentry:
description: "Should we use sentry?"
default: true
Expand All @@ -41,6 +46,7 @@ jobs:
with:
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
github: ${{ github.event.inputs.github }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit

Expand All @@ -50,6 +56,7 @@ jobs:
with:
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
github: ${{ github.event.inputs.github }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit

2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ lane :build_flavor do |params|
# end
when 'alpha','beta','production'
upload_store(changelog:changelog, version: version, versionCode: versionCode, flavor:flavor, options:options, build_output:build_output)
if (platform == 'ios')
if (platform == 'ios' && options[:github] != false)
# we now github create releases on iOS for european users
changelog = get_changelog(platform:platform, flavor:'github')
set_github_release(
Expand Down
2 changes: 1 addition & 1 deletion tools
Loading

0 comments on commit 52bd8d5

Please sign in to comment.