File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments