Skip to content

Commit

Permalink
fix: another trial to use a regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Arc-E-Tect committed Jul 21, 2024
1 parent 71da369 commit 77f6409
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 @@ -75,7 +75,7 @@ jobs:
echo "new_tag_version=$VERSION"
REGEX="s/version = '.*'"
sed -i "s/$REGEX/version = '$VERSION'/" ${{ env.FILE }}
sed -i "s/version '[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+'/version '$VERSION'/g" ${{ env.FILE }}
- name: Print new file
if: ${{needs.setup_release.outputs.new_tag_version != ''}}
Expand Down

0 comments on commit 77f6409

Please sign in to comment.