Skip to content

Commit 3756b94

Browse files
committed
improve sed command
1 parent 291be30 commit 3756b94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: aboutbits/github-actions-java/setup-and-install@v1
2222

2323
- name: Set Version
24-
run: sed -i 's/<version>BUILD-SNAPSHOT<\/version>/<version>${{ github.event.inputs.version }}<\/version>/g' pom.xml
24+
run: sed -i 's|<version>BUILD-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
2525

2626
- name: Publish package
2727
run: mvn --batch-mode deploy

0 commit comments

Comments
 (0)