Skip to content

Commit eb3ca00

Browse files
authored
fix: missing release branch push (#1684)
* fix: missing release branch push Signed-off-by: Tomas Weiss <[email protected]> * fix: code review comments Signed-off-by: Tomas Weiss <[email protected]> * fix: add force for installation Signed-off-by: Tomas Weiss <[email protected]> --------- Signed-off-by: Tomas Weiss <[email protected]>
1 parent b82d818 commit eb3ca00

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ while command -v beeai >/dev/null && rm $(command -v beeai); do true; done
4646
# It also avoids accidentally installing prereleases of dependencies by only allowing explicitly set ones
4747
echo "Installing Agent Stack CLI..."
4848
case "${AGENTSTACK_VERSION:-latest}" in "latest") AGENTSTACK_VERSION=$LATEST_STABLE_AGENTSTACK_VERSION ;; "pre") AGENTSTACK_VERSION=$LATEST_AGENTSTACK_VERSION ;; esac
49-
uv tool install --quiet --python-preference=only-managed --python=3.13 --refresh --prerelease if-necessary-or-explicit --with "agentstack-sdk==$AGENTSTACK_VERSION" "agentstack-cli==$AGENTSTACK_VERSION" || error
49+
uv tool install --quiet --python-preference=only-managed --python=3.13 --refresh --prerelease if-necessary-or-explicit --with "agentstack-sdk==$AGENTSTACK_VERSION" "agentstack-cli==$AGENTSTACK_VERSION" --force || error
5050

5151
# Finish set up using CLI (install QEMU on Linux, start platform, set up API keys, run UI, ...)
5252
agentstack self install

tasks.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,14 @@ if ! gum confirm "Proceed with the release?"; then
227227
exit 0
228228
fi
229229
230+
git fetch origin
230231
git checkout release
231232
git reset --hard origin/main
232233
233234
{{ mise_bin }} release:bump --version="$rc_version"
234235
236+
git push --force-with-lease origin release
237+
235238
git checkout main
236239
git pull origin main
237240

0 commit comments

Comments
 (0)