Skip to content

Commit bd7d402

Browse files
authored
Merge pull request #38 from sanshengshui/develop-0.7.3
update release.yml
2 parents 7fc3f46 + b848d44 commit bd7d402

File tree

7 files changed

+25
-7
lines changed

7 files changed

+25
-7
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,24 @@ jobs:
141141
with:
142142
ref: ${{ env.refName }}
143143

144+
- name: 'Download all build artifacts'
145+
uses: actions/download-artifact@v4
146+
with:
147+
pattern: artifacts
148+
149+
- name: 'Read HEAD ref'
150+
id: head
151+
uses: juliangruber/read-file-action@v1
152+
with:
153+
path: artifacts/HEAD
154+
155+
- name: 'Read versions'
156+
shell: bash
157+
id: version
158+
run: |
159+
RELEASE_VERSION=`cat artifacts/RELEASE_VERSION`
160+
echo "releaseVer = $RELEASE_VERSION" >> $GITHUB_ENV
161+
144162
- name: Install upx in Linux
145163
run: sudo apt-get install upx
146164
if: ${{ runner.os == 'Linux' }}
@@ -186,7 +204,7 @@ jobs:
186204
name: artifacts-${{ matrix.os }}
187205
path: |
188206
toolkit-app/target/*.zip
189-
!toolkit-app/target/toolkit-${{ env.refName }}.zip
207+
!toolkit-app/target/toolkit-${{ env.releaseVer }}.zip
190208
191209
# Collect all executables and release
192210
release:

pom.xml

Lines changed: 1 addition & 1 deletion
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>

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)