# Versioning

1. Major - Breaking changes (incompatible schemas)
2. Minor - new blocks, new templates
3. Patch - block iteration

# Hosting

    http://schemas.coastapp.com/card/v1/<schema>.json

# Release Process

1. If incrementing Major version, update the `version` property enum on top-level template schemas to new version.
1. Make changes to schemas
1. Run `yarn gen`
1. Run `yarn package`
1. Commit changes
1. Run `yarn version`, increment version according to versions section above
1. Run `git push && git push --tags` to push commit and tags.
1. Run `yarn upload` (ensure your AWS creds are setup and aws-cli is installed first)
1. Switch to `frontend/shared` repo and run `yarn add "https://coast-app-bot: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@github.com/coast-app/schemas.git#vX.X.X"` with correct version from step `6.`
1. Switch to `frontend/native` repo and run `yarn add "https://coast-app-bot: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@github.com/coast-app/schemas.git#vX.X.X"` with correct version from step `6.`
1. 🎉

# Adding icons

https://www.notion.so/Adding-icons-08529b9a1caa492ba9db879436cab61d?pvs=4#7122028559324946bd680114a0ad07d5
