-
-
Notifications
You must be signed in to change notification settings - Fork 348
fix: The release of APK is fixed. #602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b063ecb
Merge pull request #601 from AOSSIE-Org/dev
M4dhav 0cd58c7
fix: Build and deploy workflow
uju09 bd6002e
Revert "fix: Build and deploy workflow"
uju09 c55d8cd
fix: added env for APK release
uju09 31e6659
Updated
uju09 2d9ef05
Reverted changes
uju09 5b98286
Solved the disk storage issue
uju09 7bc29eb
Reverted the artifact change.
uju09 ef6000c
Fixing android error
uju09 c17d863
Added free disk space on runner
uju09 ba7af79
Fixed typo and updated release-action to v2
uju09 12dc271
Reverted version changes.
uju09 1d5d5ee
Release notes and build notes are extracted from CHANGELOG
uju09 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 45
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 316
🏁 Script executed:
# Check file size of build_and_deploy.yml wc -l ./.github/workflows/build_and_deploy.ymlRepository: AOSSIE-Org/Resonate
Length of output: 107
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 1514
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 316
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 316
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 122
🏁 Script executed:
# Read the full workflow file to see all steps and understand the complete context cat -n ./.github/workflows/build_and_deploy.ymlRepository: AOSSIE-Org/Resonate
Length of output: 5807
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 45
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 205
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 124
🏁 Script executed:
# Check which branch we're on and if CHANGELOG.md exists there git branch -vvRepository: AOSSIE-Org/Resonate
Length of output: 360
🏁 Script executed:
# Check git status git statusRepository: AOSSIE-Org/Resonate
Length of output: 128
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 116
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 107
🏁 Script executed:
# Also check the git log to understand the commit git log --oneline -1Repository: AOSSIE-Org/Resonate
Length of output: 129
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 45
🏁 Script executed:
# Check the current commit to see what was changed git show --stat HEADRepository: AOSSIE-Org/Resonate
Length of output: 24217
🏁 Script executed:
# List all files in the current directory to see what exists ls -laRepository: AOSSIE-Org/Resonate
Length of output: 1900
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 835
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 7110
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 279
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 47
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 723
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 403
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 167
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 125
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 433
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 45
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 408
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 320
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 430
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 441
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 783
CHANGELOG.md is missing from the repository – workflow cannot function.
The AWK parsing step will fail immediately because the file doesn't exist. When awk tries to read
CHANGELOG.md, it returns exit code 2 with error:cannot open file 'CHANGELOG.md' for reading: No such file or directory. This leavesbuild_tagas an empty string, which is then passed to the release-action, causing the release step to fail.Two fixes are required:
## [v]X.Y.Z🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore this, the changelog file exists. Review the rest of the code, specifically the parsing step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Length of output: 75
🏁 Script executed:
Length of output: 563
@M4dhav, I'll focus on the AWK parsing logic as requested.
Critical Issue: Regex Inconsistency
The AWK script has a regex pattern mismatch that will cause incorrect parsing:
Line 122 (version header matching):
/^##[[:space:]]*\[?v?[0-9]+\.[0-9]+\.[0-9]+.*\]?/Uses
[[:space:]]*— allows zero or more spaces after##Line 130 (exit condition for notes):
if (/^##[[:space:]]+/) exitUses
[[:space:]]+— requires one or more spaces after##Impact
If CHANGELOG.md contains headers without spaces (e.g.,
##Features,##[2.0.0],##Fixes), the script will:##v1.0.0##Featuresbecause it has zero spacesrelease_notesRecommended Fix
Make the patterns consistent:
Recommendation: Use Option 2 to handle various CHANGELOG formats robustly.
Additional Issues
No validation for empty tag: If no version is found,
tagremains empty, outputtingbuild_tag=v(just the prefix). Add validation in the END block:Trailing newline in notes: Each line appends
\n, resulting in an extra trailing newline. While not critical, you could trim it:Would you like me to provide the complete corrected AWK script?
🧠 Learnings used