Skip to content

chore(release): v0.2.0#2877

Merged
vprothais merged 4 commits intoouds/mainfrom
ouds/main-release-v0.2.0
Mar 5, 2025
Merged

chore(release): v0.2.0#2877
vprothais merged 4 commits intoouds/mainfrom
ouds/main-release-v0.2.0

Conversation

@louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Mar 3, 2025

  • Run linters;
  • Run compilers;
  • Run tests;
  • Check documentation site: examples and contents;
  • Test cross-browser compatibility locally and with BrowserStack:
    • Firefox ESR
    • IE11 (v4 only)
    • Latest Edge, Chrome, Firefox, Safari
    • iOS Safari
    • Chrome & Firefox on Android
  • Including RTL mode;
  • Ask for reviews and accessibility testing;
  • sync with Bootstrap's release and probably wait for it;
  • npm run release-version $current_version $next_version to bump version number
    • then, if bumping a minor or major version:
      • Manually change version_short in package.json
      • Add docs version to site/data/docs-versions.yml
      • Manually change docs_version in hugo.yml and other references to the previous version
      • Update redirects in docs frontmatter (site/content/docs/_index.html?)
      • Move site/content/docs/5.x to site/content/docs/5.x+1
      • Increment site/static/docs/{version} version
      • Increment version in nuget/boosted.nuspec
      • (Major version) Manually update the version in nuget/boosted.nuspec and nuget/boosted.sass.nuspec
    • check wrong matches in CHANGELOG.md, and maybe site/content/docs/<version>/migration.md
    • ⚠️ check the package-lock.json and package.json content, only "boosted" should have its version changed!
    • ⚠️ site/content/docs/5.1/**/*.md should not always be modified
  • if the year changed recently, happy new year 🎉 but please change © year in .scss main files (reboot, grid, utilities, and main file) as well as in NOTICE.txt.
  • npm run release to compile dist, build Storybook, update SRI hashes in doc, and package the release
  • Prepare changelog:
  • Commit and push dist with a chore(release) commit message
  • Manually run BrowserStack test
  • Manually run Percy test
  • Merge (on v4-dev or main)
  • Tag your version, and push your tag
  • Pack and publish
    • npm pack
    • if you are already logged in to NPM (with a personal account, for example), you'd better use a repository scoped .npmrc file
    • Publish:
      • if you're releasing a pre-release, use --tag, e.g. for v5-alpha1 npm publish boosted-5.0.0-alpha1.tgz --tag next
      • (v4 only) npm publish --tag v4.x.y (if you forgot and v4 becomes the latest version on NPM, you can run `npm dist-tag add boosted@5.x.y latest to fix it)
      • (v5 only) npm publish
  • check release on NPM, Nuget, Packagist
  • publish documentation on gh-pages:
    • copy ../_site to the gh-pages branch (don't forget to update Storybook as well)
    • check every index.html used as redirections to redirect to the new release
    • when bumping minor version: ensure dist URLs in examples' HTML has changed
    • double-check everything before pushing, starting by searching for forgotten old version number occurrences
  • make an announcement in GitHub Discussions (+ pin the new GH Discussion)
  • create a GitHub release:
    • attach the zip file
    • paste the CHANGELOG / Ship list in the release's description
  • make an announcement on internal communication channels 🎉
  • publish on Nuget

@louismaximepiton louismaximepiton changed the title npm run release-version 0.1.0 0.2.0 chore(release): v0.2.0 Mar 3, 2025
@netlify
Copy link

netlify bot commented Mar 3, 2025

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit cdfeeb1
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/67c81e19600e880008ead5a9
😎 Deploy Preview https://deploy-preview-2877--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@louismaximepiton louismaximepiton marked this pull request as ready for review March 3, 2025 15:52
@vprothais vprothais merged commit 9aad3d7 into ouds/main Mar 5, 2025
13 checks passed
@vprothais vprothais deleted the ouds/main-release-v0.2.0 branch March 5, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants