Skip to content

Commit

Permalink
-P gnu grep
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Sep 27, 2024
1 parent c072f66 commit 6e39506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v2
- name: Build image
run: |
VERSION_TAG=$(grep -o -m1 '\d.\d.\d' Cargo.toml)
VERSION_TAG=$(grep -Po -m1 '\d.\d.\d' Cargo.toml)
echo "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA::6}"
echo "${REGISTRY}/${IMAGE_NAME}:${VERSION_TAG}"
Expand Down

0 comments on commit 6e39506

Please sign in to comment.