Skip to content

Commit 8898231

Browse files
committed
new Deply Script should Works with all version
1 parent ebf7cf8 commit 8898231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
4444
# Update dependency versions between modules
4545
cd ../json-smart
46-
sed -i 's|<version>2.6.0-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
46+
sed -i 's|<version>[0-9]\+\.[0-9]\+\.[0-9]\+-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
4747
cd ../json-smart-action
48-
sed -i 's|<version>2.6.0-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
48+
sed -i 's|<version>[0-9]\+\.[0-9]\+\.[0-9]\+-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
4949
5050
- name: Release accessors-smart
5151
run: |
5252
cd accessors-smart
5353
./mvnw -q clean install
54-
# ./mvnw deploy -P release-sign-artifacts
54+
./mvnw deploy -P release-sign-artifacts
5555
env:
5656
CENTRAL_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
5757
CENTRAL_TOKEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}

0 commit comments

Comments
 (0)