diff --git a/scripts/release_main.sh b/scripts/release_main.sh new file mode 100755 index 000000000..2ced9fc5e --- /dev/null +++ b/scripts/release_main.sh @@ -0,0 +1,79 @@ +#!/bin/bash + +# git clone git@github.com:firebase/genkit.git +# cd genkit +# pnpm i +# pnpm build +# pnpm test:all + +# Run from root: scripts/release_main.sh + +pnpm login --registry https://wombat-dressing-room.appspot.com + + +CURRENT=`pwd` + +cd genkit-tools/common +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd genkit-tools/cli +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/core +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/ai +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/flow +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/dotprompt +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/chroma +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/dev-local-vectorstore +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/firebase +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/google-cloud +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/googleai +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/ollama +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/pinecone +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/vertexai +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/evaluators +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/langchain +pnpm publish --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + diff --git a/scripts/release_next.sh b/scripts/release_next.sh new file mode 100755 index 000000000..3e62e982b --- /dev/null +++ b/scripts/release_next.sh @@ -0,0 +1,83 @@ +#!/bin/bash + +# git clone git@github.com:firebase/genkit.git +# cd genkit +# git checkout next +# pnpm i +# pnpm build +# pnpm test:all + +# Run from root: scripts/release_next.sh + +pnpm login --registry https://wombat-dressing-room.appspot.com + +CURRENT=`pwd` + +cd genkit-tools/cli +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd genkit-tools/common +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd genkit-tools/telemetry-server +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/core +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/ai +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/genkit +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/dotprompt +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/chroma +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/dev-local-vectorstore +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/firebase +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/google-cloud +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/googleai +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/ollama +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/pinecone +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/vertexai +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/evaluators +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT + +cd js/plugins/langchain +pnpm publish --tag next --publish-branch next --registry https://wombat-dressing-room.appspot.com +cd $CURRENT +