Docs/Getting updates

Getting updates

New versions of Accordee are pushed to your private GitHub repository and added to your purchase as a ZIP. Here's how to see what changed and bring an update into your own project.

Where to get new versions

Every new version is pushed to the private GitHub repository github.com/Accordee/accordee-app-release with a version tag, such as v2.0.0. If you have repository access, you pull updates with Git instead of downloading them again. You get access by connecting your GitHub account in your Polar customer portal after purchase.

Each version is also added to your purchase as a ZIP. It appears in your Polar customer portal next to the version you already have. Sign in with the email you used at checkout. You don't need to buy again or ask for access.

What changed

Every version includes a CHANGELOG.md at the top of the project. It lists each version, newest first, with what was added, improved and fixed. The same list is on the Changelog page, so you can check before you update.

To see which version you have, open package.json in your project and look at the version field:

package.json
{
  "name": "accordee-crm",
  "version": "2.2.0",
  …
}

If the newest version in the changelog is higher than yours, there's an update you haven't brought over yet.

Update from the repository

These steps assume you cloned the repository and named its remote accordee, as Installation shows (use origin if you kept the default name).

Commit your own work, then fetch the new version:

git fetch accordee --tags

See which files the update changed, from your version's tag to the new one:

git diff --stat v2.2.0 v2.3.0

Merge the new tag into your branch. If you haven't changed the code, this is a clean fast step; if you have, Git only asks you to choose where you and the update changed the same lines.

git merge v2.3.0

Install and build to check everything works:

npm ci && npm run build

Haven't changed anything and still on Accordee's own branch? git pull accordee main does the same in one step.

Update from the ZIP

If you use the ZIP and haven't changed the code, replace the project:

Unzip the new version into a new folder, next to your current project.

Copy across your .env files (for example .env.local) and any files you added yourself, such as images in public.

Install the dependencies and start the app to check everything works:

npm ci && npm run dev

Once it looks right, archive or delete the old folder.

If you have customized it

Don't copy a new version over your project: that would undo your changes. Keep your project in Git, commit your work, then pick one of these:

  • Merge the new tag from the repository, as above. This is the simplest way to keep your changes and take the update.
  • Merge the ZIP on a branch. If your first commit is the untouched download (as Installation suggests), start a branch from it, copy the new version's files over (everything except node_modules and your .env files), commit, and merge that branch into yours. Git only asks you to choose where you and the update changed the same lines.
  • Ask an AI coding tool. Put the new version next to your project and ask your tool to apply the changes listed in its CHANGELOG.md, keeping your customizations. Review the result before you commit. AI coding tools shows how to set one up.
  • Pick only what you need. Updates are optional. Read the changelog and copy over just the fixes or features you want.
Merge the ZIP on a branch
git switch -c accordee $(git rev-list --max-parents=0 HEAD)
# copy the new version's files over the project, then:
git add -A && git commit -m "Accordee v2.3.0"
git switch main && git merge accordee
Prompt for an AI coding tool
The folder ../accordee-v2.3.0 is a new version of Accordee.
Read its CHANGELOG.md and apply the changes since v2.2.0 to this
project. Keep my customizations, and list anything that conflicts.

Whichever way you choose, finish with npm ci, npm run lint, npm run typecheck and npm run build, then click through the screens the update touched.

How long updates last

Your license includes lifetime updates. “Lifetime” means for as long as we sell the product. New items we add later are included at no extra cost. The full wording is in the License.