Skip to content

Commit 0d5d944

Browse files
committed
fix: install.sh versions
Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
1 parent 15a68c9 commit 0d5d944

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -eu
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

1111
error() {
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

tasks.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,6 @@ yq -i ".version = \"$usage_version\"" apps/agentstack-ui/package.json
227227
yq -i ".version = \"$usage_version\"" apps/beeai-web/package.json
228228
yq -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-
235230
git add .
236231
git commit --signoff --no-verify -m "bump: v$usage_version"
237232
set +x
@@ -341,7 +336,7 @@ git push
341336
set -x
342337
git checkout main
343338
git pull
344-
git restore --source=release install.sh
339+
perl -pi -e "s/^(LATEST_AGENTSTACK_VERSION=).*/\${1}$current_version/" install.sh
345340
git add install.sh
346341
git commit --signoff --no-verify -m "chore: update install.sh prerelease version to v$current_version"
347342
git push
@@ -392,9 +387,8 @@ echo "💡 Check the pipeline progress and result on: https://github.com/i-am-be
392387
set -x
393388
git checkout main
394389
git 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
398392
git add install.sh
399393
git commit --signoff --no-verify -m "chore: update install.sh version to v$publish_version"
400394
git push

0 commit comments

Comments
 (0)