Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
trying to fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
celedev97 committed Nov 14, 2023
1 parent 11b8d57 commit cb2e684
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 @@ -25,7 +25,7 @@ jobs:
- name: Correct pom version as per tag name
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "(<artifactId>asa_sm<\/artifactId>(?:\s)*<version>)\d+\.\d+\.\d+(?:-SNAPSHOT)?(<\/version>)"
find: "(<artifactId>asa_sm<\/artifactId>(?:\\s)*<version>)\\d+\\.\\d+\\.\\d+(?:-SNAPSHOT)?(<\/version>)"
replace: ${{ format('$1{0}$2', github.ref_name) }}
include: "pom.xml"

Expand Down

0 comments on commit cb2e684

Please sign in to comment.