Skip to content

Commit

Permalink
⚗️ escape backslashes
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Jun 10, 2024
1 parent b088df1 commit fdf2d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-mqt-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
echo "Checking if cmake/ExternalDependencies.cmake exists..."
ls -l cmake/ExternalDependencies.cmake || true
echo "Attempting to parse version and revision..."
version=$(grep -Po 'MQT_CORE_VERSION\n \K[0-9]+\.[0-9]+\.[0-9]+' cmake/ExternalDependencies.cmake)
revision=$(grep -Po 'MQT_CORE_REV\n "\K[^"]+' cmake/ExternalDependencies.cmake)
version=$(grep -Po 'MQT_CORE_VERSION\\n \\K[0-9]+\\.[0-9]+\\.[0-9]+' cmake/ExternalDependencies.cmake)
revision=$(grep -Po 'MQT_CORE_REV\\n "\\K[^"]+' cmake/ExternalDependencies.cmake)
echo "Parsed version: $version"
echo "Parsed revision: $revision"
echo "version=$version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit fdf2d05

Please sign in to comment.