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

Release automation #28

Merged
merged 5 commits into from
Feb 2, 2025
Merged

Release automation #28

merged 5 commits into from
Feb 2, 2025

Conversation

hazzuk
Copy link
Member

@hazzuk hazzuk commented Jan 27, 2025

While the build workflow for the app has been automated, the steps required to publish a new release are still mostly done manually. This PR automates most of the remaining steps.

  • Run bash scripts/prepare-release.sh 2.X.X to prepare the master branch for release

    • Updates package.json version number
    • Updates .cliffignore (list of commits from element-web to ignore in the changelog)
    • Generates a new CHANGELOG.md and LATEST.md
    • Creates required prep commit ("chore(release): prepare for v2.X.X")
  • As part of build.yml, when a release commit has been made to master

    • Renames release branch to be prefixed with the last release tag
    • Creates a new release branch from master
  • As part of build.yml, when a release commit has been made to release

    • Generates a draft GitHub release using the LATEST.md changelog

@hazzuk hazzuk added the enhancement New feature or request label Jan 27, 2025
@hazzuk
Copy link
Member Author

hazzuk commented Jan 27, 2025

  • test commit logic in release script
  • create a separate latest only changelog for the github release (--latest or --unreleased)
  • edit the build for detecting release prep commits
  • manage branches
  • create a github release

When preparing for a release, the build will now archive the previous release branch. And create a new branch, starting a release build.
Copy link

github-actions bot commented Feb 2, 2025

Cloudflare Pages deployment

Latest commit 5ecf82d71edf02969de573e0fe80b97e07f64a2f
Status ✅ Deployed!
URL https://5063dbcc.elecord-web.pages.dev

@hazzuk hazzuk merged commit 935fb97 into master Feb 2, 2025
2 checks passed
@hazzuk hazzuk deleted the release-automation branch February 2, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant