umap/docs/release.md
2024-01-11 11:56:13 +01:00

1.2 KiB

How to make a release

  1. Run tests:
    • make test
    • make testjs
  2. I18N
    • make messages look for new strings within the code
    • make tx_push to publish new strings to transifex
    • translators at work
    • make tx_pull to retrieve new translations from transifex
    • make compilemessages to create regular .mo + umap/static/umap/locale/*.js
    • commit new translations git commit -am "i18n"
  3. Bump version: make patch|minor
  4. git commit -am "1.X.Y"
  5. git tag 1.X.Y
  6. git push && git push --tag
  7. Go to Github release page and Generate release notes + paste it in docs/changelog.md + finish Github process for a new release
  8. Commit the changelog git commit -am "changelog"
  9. make build
  10. make publish
  11. make docker

Deploying instances

OSMfr

The process is manual for now, Yohan has one Makefile on his computer.

ANCT

Update the Dockerfile with correct version and put a tag YYYY.MM.DD in order to deploy it to production.