npm install -g oclif
yarn build
yarn version
git push origin main --tags
npm publish
!! Copy .env.example
to .env
. Fill out .env
variables, you can find them shared in SharePoint. !!
oclif pack tarballs
yarn upload tarballs
oclif pack macos
yarn upload macos
oclif pack win
yarn upload win
You can find the sha
variable for release in the first 7 characters of the commit hash for instance (c06ad11)8, or you
can copy it from the generated file names.
The version
variable is the version, you want to release. You need to separately release each platform, without
specific flag it's the tarballs, --macos
is releasing mac version to the stable channel, --win
is windows.
yarn promote --version={version} --sha={sha}
yarn promote --version={version} --sha={sha} --macos
yarn promote --version={version} --sha={sha} --win