ci: add manual release workflow#152
Merged
mohamede1945 merged 2 commits intomainfrom May 3, 2026
Merged
Conversation
- Replace tag-triggered release with manual release inputs - Bump gradle.properties and tag the release in workflow - Reuse the same run to build and publish release artifacts
AhmedNMahran
approved these changes
May 3, 2026
ahmedre
approved these changes
May 3, 2026
Comment on lines
+85
to
+86
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
Contributor
There was a problem hiding this comment.
will this bot have access to write to this repo or do we need to have a token as an env variable?
Collaborator
Author
There was a problem hiding this comment.
Yes, there is a test run in the PR's description. It's mainly because of permissions of contents: write we have. See the example here: https://github.com/actions/checkout/blob/main/README.md#push-a-commit-using-the-built-in-token
| git commit -m "chore: bump version to ${RELEASE_NUMBER}" | ||
| git push origin "HEAD:${TARGET_BRANCH}" | ||
| git tag -a "$tag_name" -m "$tag_name" | ||
| git push origin "$tag_name" |
Contributor
There was a problem hiding this comment.
should this happen at the very end? - if anything fails after this point we'll have this commit / tag etc and we didn't release yet
Collaborator
Author
There was a problem hiding this comment.
That makes sense, I'll create the commit and tag after creating the xcframework
- Build and package release artifacts before pushing commit and tag - Keep release metadata available through workflow outputs
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.
Testing:
Test 1
See https://github.com/quran/mobile-sync/actions/runs/25288607335.
Test 2
See https://github.com/quran/mobile-sync/actions/runs/25293771252.