Skip to content

Commit

Permalink
chore: added release scripts (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj authored Oct 22, 2024
1 parent 09ecf6c commit f6e8982
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 0 deletions.
78 changes: 78 additions & 0 deletions scripts/release_main.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
#!/bin/bash

# git clone [email protected]: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

83 changes: 83 additions & 0 deletions scripts/release_next.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
#!/bin/bash

# git clone [email protected]: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

0 comments on commit f6e8982

Please sign in to comment.