Skip to content
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

Github Action: Generate and add "release notes" when distributing new builds on Firebase (staging and production) #463

Open
luongvo opened this issue May 16, 2023 · 4 comments

Comments

@luongvo
Copy link
Member

luongvo commented May 16, 2023

Why

Currently, the template supports existing CD workflows to distribute new builds to Firebase. There is a space for improvement to have release notes on each build to clarify what is being covered with the new update for the PM and testers instead of showing the default release notes.

Solution: available solutions from TPC

  • after merging a PR to develop:

    echo "RELEASE_NOTE_CONTENT="$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))""
    
  • after merging a release PR to main

    echo "RELEASE_NOTE_CONTENT="$(git log --merges --pretty=%B $(git describe --abbrev=0 --tags)..HEAD | grep "\[")""
    

image

Who Benefits?

PM and Testers

@lydiasama
Copy link
Contributor

@luongvo @ryan-conway Let me update the title of this issue for Github action. I'll add more similar to this for Codemagic. 🙏

@lydiasama lydiasama changed the title Generate and add "release notes" when distributing new builds on Firebase (staging and production) Github Action: Generate and add "release notes" when distributing new builds on Firebase (staging and production) Jul 17, 2023
@lydiasama lydiasama self-assigned this Jul 18, 2023
@lydiasama lydiasama added this to the 3.23.0 milestone Jul 18, 2023
@ryan-conway ryan-conway modified the milestones: 3.23.0, 3.24.0, 3.25.0 Aug 30, 2023
@hoangnguyen92dn
Copy link
Contributor

@lydiasama Since I handled this in the new project, in case you haven't started working on this so would you mind if I handle this for template updates? 😄

@lydiasama
Copy link
Contributor

@hoangnguyen92dn Sure thing. Thank you. 🙏🏻

@luongvo
Copy link
Member Author

luongvo commented Nov 10, 2023

@hoangnguyen92dn @lydiasama You can consider using https://github.com/mikepenz/release-changelog-builder-action to generate the changelog for release notes on develop and main branches here nimblehq/flutter-templates#270.

@ryan-conway ryan-conway modified the milestones: 3.27.0, 3.28.0 Dec 1, 2023
@ryan-conway ryan-conway modified the milestones: 3.28.0, 3.29.0 Dec 29, 2023
@ryan-conway ryan-conway modified the milestones: 3.29.0, 3.30.0 May 28, 2024
@ryan-conway ryan-conway modified the milestones: 3.30.0, 3.31.0 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants