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 todo 20.0.0-beta.1 #12820

Closed
34 of 39 tasks
danxuliu opened this issue Jul 25, 2024 · 0 comments
Closed
34 of 39 tasks

🚀 Release todo 20.0.0-beta.1 #12820

danxuliu opened this issue Jul 25, 2024 · 0 comments

Comments

@danxuliu
Copy link
Member

danxuliu commented Jul 25, 2024

Get branches/versions to release from https://github.com/nextcloud/spreed/milestones

💺 Preparation

🚀 v20.0.0-beta.1

Start with the oldest version here, so the appstore and github releases show the newest version as "Last release"

  • Create a PR against master CHANGELOG.md with the changelog of all milestones that are subject to the release
    • Release 20.0.0-beta.1 #12822
    • Bump the version in appinfo/info.xml
    • Bump the version in package.json. The following command will return a new version name, make sure it matches what you expect:
    # Make sure the printed version matches the info.xml version
    npm version --no-git-tag-version $(xmllint --xpath '/info/version/text()' appinfo/info.xml)
  • Merge the PR
  • Make sure you pull the latest main branch:
    git checkout main
    git pull origin main
  • Clean the dev instance and update all dependencies with the lock file versions and build the production javascript:
    make production-setup
    # On 24 and older versions run:
    # make dev-setup build-js-production
  • Do a quick smoke test by starting a call with:
    • Chrome
    • Edge
    • Firefox
    • Safari
    • Desktop client (Talk 16+)
    • Android app
    • iOS app
  • Create tag (note that the leading v in v20.0.0-beta.1 will be automatically added to the tag)
    make create-tag version=20.0.0-beta.1
  • Push the git tag to https://github.com/nextcloud-releases/spreed
    git push releases v20.0.0-beta.1
    Make sure you have access rights to the remote repository, and it is set up on your machine:
    git remote add releases git@github.com:nextcloud-releases/spreed.git
  • Prepare a (pre-)release in https://github.com/nextcloud/spreed/releases/new?tag=v20.0.0-beta.1
    • Make sure that chosen tag is v20.0.0-beta.1, target is main, and previous tag is vX.Y.[Z-1]
    • Add the respective CHANGELOG.md section from merged PR
    • Use the Generate release notes button and wrap the output result into
      ## What's Changed
      
      <details>
      	<!-- insert the output here -->
      </details>
      
    • Set as a pre-release / as the latest release
    • Publish release
  • Prepare a (pre-)release in https://github.com/nextcloud-releases/spreed/releases/new?tag=v20.0.0-beta.1
    • Copy the full content from the release description of the previous step
    • Set as a pre-release / as the latest release
    • Publish release
  • Check that the GitHub Action started: https://github.com/nextcloud-releases/spreed/actions
  • Rename milestone 💚 Next Major (30) to v20.0.0-beta.1 in https://github.com/nextcloud/spreed/milestones
    Unless last release of the stable branch:
    • Create a follow up milestone for 💚 Next Beta (30) (Due date in ~4 weeks, ~4 days for beta/RC)
    • Move all open PRs and issues from milestone v20.0.0-beta.1 to 💚 Next Beta (30)
  • Close the v20.0.0-beta.1 milestone
  • Ensure that the GitHub Action finished successfully: https://github.com/nextcloud-releases/spreed/actions
  • In case there were security issues fixed ping the security team
  • Post the changelog in 💬 Talk team public 👥
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

1 participant