Skip to content

Commit efbbad4

Browse files
authored
Merge pull request #44 from sanshengshui/develop-0.7.3
Develop 0.7.3
2 parents 7d22c5c + 3e8f01d commit efbbad4

File tree

7 files changed

+36
-22
lines changed

7 files changed

+36
-22
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -211,19 +211,19 @@ jobs:
211211
uses: actions/download-artifact@v4
212212
with:
213213
pattern: artifacts-*
214-
path: all-artifacts
214+
path: toolkit-app/target
215215

216-
- name: 'Merge all artifacts'
217-
shell: bash
218-
run: |
219-
mkdir -p merged-artifact
220-
cp -r all-artifacts/*/* merged-artifact/
221-
222-
- name: Upload merged artifact
223-
uses: actions/upload-artifact@v4
224-
with:
225-
name: release-artifact # 合并后的工件名称
226-
path: merged-artifact\
216+
# - name: 'Merge all artifacts'
217+
# shell: bash
218+
# run: |
219+
# mkdir -p merged-artifact
220+
# cp -r all-artifacts/*/* merged-artifact/
221+
#
222+
# - name: Upload merged artifact
223+
# uses: actions/upload-artifact@v4
224+
# with:
225+
# name: release-artifact # 合并后的工件名称
226+
# path: merged-artifact\
227227

228228
- name: 'Restore Maven packages'
229229
uses: actions/cache@v4
@@ -247,7 +247,7 @@ jobs:
247247
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
248248
JRELEASER_CHOCOLATEY_API_KEY: ${{ secrets.JRELEASER_CHOCOLATEY_API_KEY }}
249249
JRELEASER_CHOCOLATEY_GITHUB_TOKEN: ${{ secrets.JRELEASER_CHOCOLATEY_GITHUB_TOKEN }}
250-
run: ./mvnw --no-transfer-progress -Prelease -pl :iot-toolkit -DartifactsDir=all-artifacts jreleaser:full-release
250+
run: ./mvnw --no-transfer-progress -Prelease -pl :iot-toolkit jreleaser:full-release
251251

252252
- name: JReleaser output
253253
if: always()

pom.xml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<groupId>iot.technology</groupId>
2424
<artifactId>iot-toolkit</artifactId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
<modules>
2727
<module>toolkit-mqtt</module>
2828
<module>toolkit-coap</module>
@@ -66,8 +66,10 @@
6666
<main.dir>${user.dir}</main.dir>
6767
<artifactsDir>toolkit-app/target</artifactsDir>
6868
<appName>toolkit</appName>
69+
<java.version>17</java.version>
6970
<maven.compiler.source>17</maven.compiler.source>
7071
<maven.compiler.target>17</maven.compiler.target>
72+
<maven.compiler.release>${java.version}</maven.compiler.release>
7173
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7274
<picocli.version>4.7.6</picocli.version>
7375
<netty.version>4.1.94.Final</netty.version>
@@ -306,7 +308,7 @@
306308
</packagers>
307309
<distributions>
308310
<toolkit>
309-
<type>NATIVE_IMAGE</type>
311+
<type>BINARY</type>
310312
<artifacts>
311313
<artifact>
312314
<path>{{artifactsDir}}/{{appName}}-{{projectVersion}}-linux-x86_64.zip</path>
@@ -317,11 +319,23 @@
317319
<platform>windows-x86_64</platform>
318320
</artifact>
319321
<artifact>
320-
<path>{{artifactsDir}}/{{appName}}-{{projectVersion}}-osx-x86_64.zip</path>
321-
<platform>osx-x86_64</platform>
322+
<path>{{artifactsDir}}/{{appName}}-{{projectVersion}}-osx-aarch_64.zip</path>
323+
<platform>osx-aarch_64</platform>
322324
</artifact>
323325
</artifacts>
324326
</toolkit>
327+
<toolkit-no-arch>
328+
<type>JAVA_BINARY</type>
329+
<artifacts>
330+
<artifact>
331+
<path>{{artifactsDir}}/{{appName}}-{{projectVersion}}.zip</path>
332+
</artifact>
333+
</artifacts>
334+
<java>
335+
<version>${java.version}</version>
336+
<mainClass>iot.technology.client.toolkit.app.ToolKitCommand</mainClass>
337+
</java>
338+
</toolkit-no-arch>
325339
</distributions>
326340
</jreleaser>
327341
</configuration>

toolkit-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>iot-toolkit</artifactId>
2424
<groupId>iot.technology</groupId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
</parent>
2727

2828

toolkit-coap/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>iot-toolkit</artifactId>
2424
<groupId>iot.technology</groupId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
</parent>
2727

2828

toolkit-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>iot-toolkit</artifactId>
2424
<groupId>iot.technology</groupId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
</parent>
2727

2828
<name>IoT Technology ToolKit Common</name>

toolkit-mqtt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>iot-toolkit</artifactId>
2424
<groupId>iot.technology</groupId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
</parent>
2727

2828
<artifactId>toolkit-mqtt</artifactId>

toolkit-nbiot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>iot-toolkit</artifactId>
2424
<groupId>iot.technology</groupId>
25-
<version>0.7.3</version>
25+
<version>0.7.2</version>
2626
</parent>
2727
<modelVersion>4.0.0</modelVersion>
2828

0 commit comments

Comments
 (0)