dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 41 forks source link

Update package versions when creating new Github Release #427

Closed ZibanPirate closed 2 years ago

ZibanPirate commented 2 years ago

Description

When creating a Github release, such as stg-v3.1.1, we should update all **/package.json version fields to be the same version of that of the Github Release.

Check List

  1. [x] add a script to @dzcode.io/tooling that takes a version as an argument and applies it across the repo's pakcage.json files
  2. [x] modify the deploy workflows to run this script passing the {{ github.ref_name }} as argument.
  3. [x] address #414
  4. [x] do the same as point (3) but for ./mobile
  5. [x] specify Sentry release for all apps, take it from package.json.version

Additional Comments

This will be helpful, for tracking progress, error logs, and overall making the monorepo's version consistent