#!/usr/bin/env bash

BRANCH="$(git rev-parse --abbrev-ref HEAD)"

if [[ "$BRANCH" == "main" ]]; then
  yarn deploy:local
  yarn vscode:publish patch
fi
