diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 3752fb2d3..ab99809ca 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -23,7 +23,7 @@ jobs: id: get_latest_tag run: | # Get the latest tag ending in -vscode or default to v1.1.0-vscode if none exists - latest_tag=$(git tag --sort=-creatordate | grep -E '-vscode$' || echo "v1.1.0-vscode") + latest_tag=$(git tag --sort=-creatordate | grep -E '\-vscode$' || echo "v1.1.0-vscode") echo "Latest tag: $latest_tag" echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV @@ -69,7 +69,7 @@ jobs: id: get_latest_tag run: | # Get the latest tag ending in -jetbrains or default to v1.1.0-jetbrains if none exists - latest_tag=$(git tag --sort=-creatordate | grep -E '-jetbrains$' || echo "v1.1.0-jetbrains") + latest_tag=$(git tag --sort=-creatordate | grep -E '\-jetbrains$' || echo "v1.1.0-jetbrains") echo "Latest tag: $latest_tag" echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV