Skip to content

Commit

Permalink
adding bundle generation
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Nov 4, 2024
1 parent c1ff012 commit 5a32db8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:

- name: Clean project
run: |
./gradleW clean
./gradleW clean
- name: Assemble the bundle
run: ./gradlew bundleInternalRelease -PversionNameSuffix=-nightly -PuseUploadSigning -PlatestTag=${{ steps.fetch_tag.outputs.tag }}

- name: Generate nightly version name
id: generate_version_name
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release_upload_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,18 @@ jobs:
fileName: ddg-upload-firebase.json
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/

- name: Clean project
run: |
./gradleW clean
- name: Assemble the bundle
run: ./gradlew bundleInternalRelease -PversionNameSuffix=-nightly -PuseUploadSigning -PlatestTag=${{ steps.fetch_tag.outputs.tag }}

- name: Generate nightly version name
id: generate_version_name
run: |
output=$(./gradlew -q getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.fetch_tag.outputs.tag }} --quiet)
echo "::set-output name=version::$output"
output=$(./gradlew getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.fetch_tag.outputs.tag }} --quiet | tail -n 1)
echo "version=$output" >> $GITHUB_OUTPUT
- name: Capture App Bundle Path
id: capture_output
Expand Down

0 comments on commit 5a32db8

Please sign in to comment.