Skip to content

Building tips

Tip

The build tasks do not run on PowerShell. Instead Windows users should use WSL.

Initialize

Clone the repository.

git clone https://github.com/bengarrett/RetroTxt.git
gh repo clone bengarrett/RetroTxt
Initialize the build
cd RetroTxt
task init

Branching and pull request

Create a new branch named dev
git checkout -b dev
Create a pull request to merge the dev branch into main
gh pr create
gh pr status
gh pr merge

Update packages

Use pnpm update.

pnpm update --interactive
pnpm update --latest
pnpm update --prod
pnpm update --dev

Use Task to update the RetroTxt dependencies.

task depends

Update version stamp

Edit Taskfile.yml
vars:
  VERSION: "5.0.0"
Apply VERSION stamp to the manifest file
task version-set
Or set the VERSION and then submit to GitHub
task commit

Browser addon stores

Location of builds
RetroTxt/web-ext-artifacts/