Skip to content

Commit ce7eece

Browse files
committed
remove runtime version check on release
1 parent d1b7e37 commit ce7eece

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Taskfile.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -220,17 +220,6 @@ tasks:
220220
exit 1
221221
fi
222222
223-
# Check that runtime.yml default_version matches the tag we're about to create
224-
RUNTIME_VERSION=$(grep "^default_version:" .connect/runtime.yml | awk '{print $2}' | tr -d '"' | tr -d "'")
225-
if [ "$RUNTIME_VERSION" != "{{.TAG_VERSION}}" ]; then
226-
echo "Error: Version mismatch!"
227-
echo " runtime.yml default_version: $RUNTIME_VERSION"
228-
echo " Tag to be created: {{.TAG_VERSION}}"
229-
echo ""
230-
echo "Please update .connect/runtime.yml default_version to {{.TAG_VERSION}} before creating the release."
231-
exit 1
232-
fi
233-
234223
# Check if tag already exists
235224
if git rev-parse "{{.TAG_VERSION}}" >/dev/null 2>&1; then
236225
echo "Error: Tag {{.TAG_VERSION}} already exists"
@@ -268,17 +257,6 @@ tasks:
268257
exit 1
269258
fi
270259
271-
# Check that runtime.yml default_version matches the tag we're about to create
272-
RUNTIME_VERSION=$(grep "^default_version:" .connect/runtime.yml | awk '{print $2}' | tr -d '"' | tr -d "'")
273-
if [ "$RUNTIME_VERSION" != "{{.TAG_VERSION}}" ]; then
274-
echo "Error: Version mismatch!"
275-
echo " runtime.yml default_version: $RUNTIME_VERSION"
276-
echo " Tag to be created: {{.TAG_VERSION}}"
277-
echo ""
278-
echo "Please update .connect/runtime.yml default_version to {{.TAG_VERSION}} before creating the release."
279-
exit 1
280-
fi
281-
282260
# Check if tag already exists
283261
if git rev-parse "{{.TAG_VERSION}}" >/dev/null 2>&1; then
284262
echo "Error: Tag {{.TAG_VERSION}} already exists"

0 commit comments

Comments
 (0)