Skip to content

Commit

Permalink
try another regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoigt-sag authored Feb 16, 2024
1 parent 0f80da9 commit a784e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Decide Build Number
id: decide_build_number
run: |
VERSION=$(grep -oP '(?<=archiveVersion = )'\''\S+'\'' *build-jar.gradle' | tr -d "'")
VERSION=$(grep -oP "archiveVersion = '\\K[^']+" build-jar.gradle)
echo "Found version: $VERSION"
echo "marketing_build_version=$VERSION" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit a784e45

Please sign in to comment.