Skip to content

Commit 23434f7

Browse files
committed
fix for sed command
1 parent 4ad3fba commit 23434f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Update version in pom.xml
3737
run: |
38-
sed -i "s/<version>.*<\/version>/<version>${{ steps.version.outputs.version }}<\/version>/" pom.xml
38+
sed -i "/<artifactId>featurevisor-java<\/artifactId>/,/<version>/ s/<version>.*<\/version>/<version>${{ steps.version.outputs.version }}<\/version>/" pom.xml
3939
echo "Updated pom.xml version to ${{ steps.version.outputs.version }}"
4040
4141
- name: Build and Publish

0 commit comments

Comments
 (0)