β«Upgrade guide
How to upgrade your PetalPro project to the latest versions
1.8 -> 2.0
# Remove the Petal repo:
RUN --mount=type=secret,id=PETAL_LICENSE_KEY \
mix hex.repo add petal https://petal.build/repo \
--fetch-public-key "SHA256:6Ff7LeQCh4464psGV3w4a8WxReEwRl+xWmgtuHdHsjs" \
--auth-key $(cat /run/secrets/PETAL_LICENSE_KEY)# install build dependencies
RUN apt-get update -y && apt-get install -y build-essential git nodejs npm \
&& apt-get clean && rm -f /var/lib/apt/lists/*_*# Remove:
RUN mix assets.setup1.6 -> 1.7
1.5.2
Updating Petal Framework
Updating the boilerplate code
Option 1 - Copy your files into a fresh project
Option 2 - Using git branches
Option 3 - Rebasing
Option 4 - Attempt a git merge
Option 6 - Use a diffing tool like Araxis merge
Last updated
Was this helpful?
