Conversation
Contributor
1b015e9 to
800ad75
Compare
This commit introduces several improvements to the versioning and deployment workflows:
- Updates the `update_versions.sh` script to use `awk` for precise 2-decimal incrementing of `versionName`.
- Modifies `android_deploy_prod.yml` and `android_deploy_beta.yml`:
- Sets `fetch-depth: 0` for checkout to ensure full history for changelog generation.
- Explicitly uses `bash` to run `generate_changelog.sh`.
- Commits all changes (`git add .` and `git commit -a`) instead of just `fastlane/metadata/android`.
- Adds `|| echo "No changes to commit"` to prevent commit failures if there are no changes.
- Enhances `version_updater.yml`:
- Adds `workflow_dispatch` inputs for `channel` (beta/release) and `bump` (true/false) to control version bumping.
- Sets `fetch-depth: 0` for checkout.
- Conditionally runs `update_versions.sh` based on the `bump` input.
- Sets `TAG_PREFIX` dynamically based on the `channel` input.
- Commits all changes and includes channel information in the commit message.
- Refines `github_release_apk.yml`:
- Updates the `tag_name` input description.
- Changes the push tag trigger from `v*` and `beta-*` to `release-*`.
- Explicitly uses `bash` to run `generate_changelog.sh` and sets `TAG_PREFIX` to `release-`.
- Improves release tag derivation logic, ensuring a tag is always generated and defaults to `release-<commit_sha_short>` if needed.
- Sets `target_commitish` to `github.sha` for the GitHub release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.