Skip to content

Releasing Foam#

  1. Get to the latest code
  2. git checkout main && git fetch && git rebase
  3. Sanity checks
  4. yarn reset
  5. yarn test
  6. Update change log
  7. ./packages/foam-vscode/CHANGELOG.md
  8. git add *
  9. git commit -m"Preparation for next release"
  10. Update version
  11. $ yarn version-extension <version> (where version is patch/minor/major)
  12. Package extension
  13. $ yarn package-extension
  14. Publish extension
  15. $ yarn publish-extension
  16. Update the release notes in GitHub
  17. in GitHub, top right, click on "releases"
  18. select "tags" in top left
  19. select the tag that was just released, click "edit" and copy release information from changelog
  20. publish (no need to attach artifacts)
  21. Announce on Discord

Steps 1 to 6 should really be replaced by a GitHub action...