Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: No need to create new tag in release script (#610)

Kilian Lieretbc87aef7da24
diff --git a/release_dockerhub.sh b/release_dockerhub.sh
index 565f892b..14ca07f7 100755
--- a/release_dockerhub.sh
+++ b/release_dockerhub.sh
@@ -45,7 +45,7 @@ DOCKER_CONTEXT_NAME="sweagent-multiplatform"
docker buildx use "$DOCKER_CONTEXT_NAME" || docker buildx create --use --name "$DOCKER_CONTEXT_NAME"
on_error() {
- echo "====> ERROR!!! IMPORTANT: Make sure if you've already pushed something to dockerhub or pushed the tag to github!" >&2
+ echo "====> ERROR!!! IMPORTANT: Make sure that you've already pushed something to dockerhub or pushed the tag to github!" >&2
}
trap on_error ERR
@@ -67,18 +67,3 @@ echo "🔥 swe-agent-run pushed to dockerhub"
echo "------------------------------------------"
echo "Building of all images done"
echo "------------------------------------------"
-
-
-if [ "$VERSION_STR" != "latest" ]; then
- git tag v${VERSION_STR} || {
- echo "Failed to create a tag in git" >&2
- exit 5
- }
- echo "🔥 Tag v${VERSION_STR} created in git (local)!"
-
- git push origin v${VERSION_STR} || {
- echo "Failed to push the tag to github" >&2
- exit 6
- }
- echo "🔥 Tag v${VERSION_STR} pushed to github"
-fi
\ No newline at end of file