File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# AGENTSTACK_VERSION = latest (default, latest stable version) | pre (latest version including prereleases) | <version> (specific version)
66
77# These get updated by `mise release`:
8- LATEST_STABLE_AGENTSTACK_VERSION=0.5.0-rc6
9- LATEST_AGENTSTACK_VERSION=0.5.0-rc6
8+ LATEST_STABLE_AGENTSTACK_VERSION=0.4.3
9+ LATEST_AGENTSTACK_VERSION=0.5.0-rc5
1010
1111error () {
1212 printf " \n💥 \033[31mERROR:\033[0m: Agent Stack installation has failed. Please report the above error: https://github.com/i-am-bee/agentstack/issues\n" >&2
Original file line number Diff line number Diff line change @@ -227,11 +227,6 @@ yq -i ".version = \"$usage_version\"" apps/agentstack-ui/package.json
227227yq -i ".version = \"$usage_version\"" apps/beeai-web/package.json
228228yq -i ".providers[].location |= sub(\":(.*)\$\"; \":\" + \"$usage_version\")" agent-registry.yaml
229229
230- perl -pi -e "s/^(LATEST_AGENTSTACK_VERSION=).*/\${1}$usage_version/" install.sh
231- if [[ "$usage_version" == *"-rc"* ]]; then
232- perl -pi -e "s/^(LATEST_STABLE_AGENTSTACK_VERSION=).*/\${1}$usage_version/" install.sh
233- fi
234-
235230git add .
236231git commit --signoff --no-verify -m "bump: v$usage_version"
237232set +x
@@ -341,7 +336,7 @@ git push
341336set -x
342337git checkout main
343338git pull
344- git restore --source=release install.sh
339+ perl -pi -e "s/^(LATEST_AGENTSTACK_VERSION=).*/\${1}$current_version/" install.sh
345340git add install.sh
346341git commit --signoff --no-verify -m "chore: update install.sh prerelease version to v$current_version"
347342git push
@@ -392,9 +387,8 @@ echo "💡 Check the pipeline progress and result on: https://github.com/i-am-be
392387set -x
393388git checkout main
394389git pull
395- set +x
396-
397- set -x
390+ perl -pi -e "s/^(LATEST_AGENTSTACK_VERSION=).*/\${1}$publish_version/" install.sh
391+ perl -pi -e "s/^(LATEST_STABLE_AGENTSTACK_VERSION=).*/\${1}$publish_version/" install.sh
398392git add install.sh
399393git commit --signoff --no-verify -m "chore: update install.sh version to v$publish_version"
400394git push
You can’t perform that action at this time.
0 commit comments