Skip to content

Commit 6a271ff

Browse files
committed
update release.yml
1 parent 88123d1 commit 6a271ff

File tree

7 files changed

+7
-26
lines changed

7 files changed

+7
-26
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
echo $RELEASE_VERSION > RELEASE_VERSION
6767
echo $PLAIN_VERSION > PLAIN_VERSION
6868
echo $NEXT_VERSION > NEXT_VERSION
69-
echo "refName=${GITHUB_REF##*/}" >> $GITHUB_ENV
7069
7170
- name: 'Upload version files'
7271
uses: actions/upload-artifact@v4
@@ -141,24 +140,6 @@ jobs:
141140
with:
142141
ref: ${{ env.refName }}
143142

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-
162143
- name: Install upx in Linux
163144
run: sudo apt-get install upx
164145
if: ${{ runner.os == 'Linux' }}
@@ -204,7 +185,7 @@ jobs:
204185
name: artifacts-${{ matrix.os }}
205186
path: |
206187
toolkit-app/target/*.zip
207-
!toolkit-app/target/toolkit-${{ env.releaseVer }}.zip
188+
!toolkit-app/target/toolkit-${{ github.event.inputs.version }}.zip
208189
209190
# Collect all executables and release
210191
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)