Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: build pub/v1 #170

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

chore: build pub/v1 #170

wants to merge 3 commits into from

Conversation

alecdwm
Copy link
Member

@alecdwm alecdwm commented Aug 21, 2024

Our main branch now builds the pub/v2 directory, which due to changes in @talismn/balances is not compatible with clients (e.g. old versions of Talisman Wallet) which use the previous version of @talismn/balances.

We can use this branch to continue to build the pub/v1 directory using the old @talismn/balances while we migrate our users to the next version of the wallet.

To run a new build of pub/v1: (☕️ indicates a recommended tea or coffee break)

  • git checkout build-pub-v1
  • git pull
  • pnpm install NOTE: if you forget this you will break prod wallet users 😢
  • git rebase -i origin/main
    • if it exists, remove the chore: built pub/v1 line to throw it away, we will be making a new one
  • pnpm install NOTE: if you forget this you will break prod wallet users 😢
  • pnpm invalidate-chains-extras-cache
  • pnpm fetch-external ☕️
  • git add data/cache/chains-extras-cache.json
  • git commit --amend to amend the new cache changes to the existing chore: updated externals commit
  • pnpm build
  • git add pub/v1
  • git commit -m 'chore: built pub/v1'
  • git push --force-with-lease origin build-pub-v1
  • git checkout main
  • git pull
  • pnpm install
  • git cherry-pick build-pub-v1 to create a new commit on main which contains the updated pub/v1 changes
  • git push origin main

@alecdwm alecdwm self-assigned this Aug 21, 2024
@alecdwm alecdwm force-pushed the build-pub-v1 branch 4 times, most recently from 8d15c03 to 2d529b6 Compare August 22, 2024 02:00
@alecdwm alecdwm force-pushed the build-pub-v1 branch 2 times, most recently from c1b9c65 to f5c6ead Compare September 4, 2024 03:01
@alecdwm alecdwm force-pushed the build-pub-v1 branch 2 times, most recently from be3b0da to d19f030 Compare September 17, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant