-
Notifications
You must be signed in to change notification settings - Fork 1.4k
chore: changelog in beta release #6899
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 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7038b2c
Generate changelog from commit and include it in beta release
Rohit3523 8e7f268
Temporary reverse the condition
Rohit3523 1beeb24
fix
Rohit3523 0ad4ab6
single action to generate changelog
Rohit3523 54f2427
Fix for changelog generator
Rohit3523 1dbe63d
fix changelog upload
Rohit3523 8b4f098
Added gh token env
Rohit3523 89b447a
use last tag instead of release
Rohit3523 b93c791
fix order
Rohit3523 c091dae
Merge branch 'develop' into beta-changelog
Rohit3523 e900697
Remove changelog from android fastlane
Rohit3523 8427d61
Added no merge
Rohit3523 ae13fac
Handle changelog character limit
Rohit3523 41508cf
reject previous bulid if it is in review
Rohit3523 97af463
Distribute to external group
Rohit3523 74c6f64
Revert testing changes
Rohit3523 3730528
For now run build-develop on beta-changelog push
Rohit3523 87cf200
Revert one more change
Rohit3523 2786906
echo version
Rohit3523 e9a11dd
use Build version based on condition
Rohit3523 381f35a
Remove echo version
Rohit3523 a5f7814
Some changes
Rohit3523 5ce95ac
added condition in ios experimental build
Rohit3523 2da31d9
Moved zome more option to conditional
Rohit3523 4461b9f
Update condition for downloading artifact
Rohit3523 6afe1de
wait for build process
Rohit3523 391ea9e
more improve
Rohit3523 eaf9c69
Run the action on develop push
Rohit3523 fa430f6
Added 15 retention days for changelog file
Rohit3523 6688bf2
changes suggested by coderabbit
Rohit3523 d5f5f4b
Merge branch 'develop' into beta-changelog
Rohit3523 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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,7 +72,7 @@ jobs: | |
| upload-android: | ||
| name: Upload | ||
| runs-on: ubuntu-latest | ||
| needs: [upload-hold] | ||
| needs: [build-android, upload-hold] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change has been made, so I can access |
||
| if: ${{ inputs.type == 'official' && (always() && (needs.upload-hold.result == 'success' || needs.upload-hold.result == 'skipped')) }} | ||
| steps: | ||
| - name: Checkout Repository | ||
|
|
@@ -85,7 +85,7 @@ jobs: | |
| trigger: ${{ inputs.trigger }} | ||
| FASTLANE_GOOGLE_SERVICE_ACCOUNT: ${{ secrets.FASTLANE_GOOGLE_SERVICE_ACCOUNT }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| BUILD_VERSION: ${{ needs.upload-hold.outputs.BUILD_VERSION }} | ||
| BUILD_VERSION: ${{ needs.build-android.outputs.BUILD_VERSION }} | ||
|
|
||
| upload-internal: | ||
| name: Internal Sharing | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Generate Release Changelog | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| generate-changelog: | ||
| name: Generate changelog | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Generate changelog | ||
| shell: bash | ||
| run: | | ||
| LATEST_RELEASE_TAG=$(git tag --sort=-creatordate | head -n 1) | ||
|
|
||
| git log "$LATEST_RELEASE_TAG"..HEAD --pretty=format:"- %s" --no-merges > changelog.txt | ||
|
|
||
| if [ ! -s changelog.txt ]; then | ||
| echo "- Improvements and bug fixes" > changelog.txt | ||
| fi | ||
Rohit3523 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - name: Upload changelog artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: release-changelog | ||
| path: changelog.txt | ||
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
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
Oops, something went wrong.
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.