PostalPoint_Plugins/publish_version.sh
Skylar Ittner c0f363b788
All checks were successful
Build and Deploy MkDocs / build-next (push) Successful in 2m14s
Push to web when public branch updated, add script to create a doc version
2026-02-28 18:43:43 -07:00

12 lines
268 B
Bash

#!/bin/bash
echo "Switching to public branch, force-syncing with upstream, publishing version $1, and pushing to upstream"
git checkout public
git reset --hard origin/public
git pull
git checkout master
mike deploy $1
git checkout public
git push
git checkout master