Skip to content

Commit 25af97d

Browse files
authoredFeb 15, 2025··
Update release.yml
1 parent 1f0426c commit 25af97d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎.github/workflows/release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ jobs:
4848
EOF
4949
- name: Update Configuration
5050
run: |
51-
find . -type f -name "pom.xml" -exec sed -i -e 's|${revision}|${{ github.event.inputs.version }}|g' \
52-
-e 's|^\( <version>\).*\(</version>\)$|\1${{ github.event.inputs.version }}\2|' \
53-
-e 's|${parent.groupId}|com.clickhouse|g' -e 's|${project.parent.groupId}|com.clickhouse|g' '{}' \;
51+
sed -i 's|<revision>.*</revision>|<revision>${{ github.event.inputs.version }}</revision>|g' pom.xml
5452
find . -type f -name "simplelogger.*" -exec rm -fv '{}' \;
5553
- name: Release Maven package
5654
uses: samuelmeuli/action-maven-publish@v1

0 commit comments

Comments
 (0)
Please sign in to comment.