forked from k33g/osprey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.sh
More file actions
executable file
·30 lines (17 loc) · 939 Bytes
/
release.sh
File metadata and controls
executable file
·30 lines (17 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
set -o allexport; source release.env; set +o allexport
echo "Generating release: ${TAG} ${ABOUT}"
find . -name '.DS_Store' -type f -delete
echo "📝 Replacing ${PREVIOUS_TAG} by ${TAG} in files..."
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./examples/05-compose-agent/compose.yml"
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./examples/07-compose-tool-calls/compose.yml"
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./examples/12-compose-tools-with-mcp/compose.yml"
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./examples/13-compose-agent-with-mcp/compose.yml"
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./README.md"
go run release.go -old="${PREVIOUS_TAG}" -new="${TAG}" -file="./lib/osprey.sh"
git add .
git commit -m "📦 ${ABOUT}"
#git push
git push origin main
git tag -a ${TAG} -m "${ABOUT}"
git push origin ${TAG}