Added more scripts.

This commit is contained in:
Andrew Lalis 2025-05-21 16:57:21 -04:00
parent 8adfb52c56
commit 120fd91697
2 changed files with 65 additions and 0 deletions

29
list-versions.sh Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
# Lists the latest versions of all projects in the Handy-Http organization.
cd ../transport
echo "transport:"
git describe --tags --abbrev=0
cd ../primitives
echo "primitives:"
git describe --tags --abbrev=0
cd ../websockets
echo "websockets:"
git describe --tags --abbrev=0
cd ../data
echo "data:"
git describe --tags --abbrev=0
cd ../starter
echo "starter:"
git describe --tags --abbrev=0
cd ../client
echo "client:"
git describe --tags --abbrev=0
cd ../devtools

36
pull-main.sh Executable file
View File

@ -0,0 +1,36 @@
#!/usr/bin/env bash
# Assuming that you're executing this script from the devtools directory, it
# will checkout main, then pull the latest commits.
cd ..
cd transport
git checkout main
git pull
cd ../primitives
git checkout main
git pull
cd ../websockets
git checkout main
git pull
cd ../data
git checkout main
git pull
cd ../starter
git checkout main
git pull
cd ../media
git checkout main
git pull
cd ../client
git checkout main
git pull
cd ../devtools