PostalPoint_Plugins/publish_version.sh
Skylar Ittner 4c2e60a775
All checks were successful
Build and Deploy MkDocs / build-next (push) Successful in 1m3s
Chmod +x
2026-03-22 22:03:47 -06:00

12 lines
268 B
Bash
Executable File

#!/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