Skip to content

Commit

Permalink
update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sanshengshui committed Jan 17, 2025
1 parent 88123d1 commit 6a271ff
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 26 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
echo $RELEASE_VERSION > RELEASE_VERSION
echo $PLAIN_VERSION > PLAIN_VERSION
echo $NEXT_VERSION > NEXT_VERSION
echo "refName=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: 'Upload version files'
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -141,24 +140,6 @@ jobs:
with:
ref: ${{ env.refName }}

- name: 'Download all build artifacts'
uses: actions/download-artifact@v4
with:
pattern: artifacts

- name: 'Read HEAD ref'
id: head
uses: juliangruber/read-file-action@v1
with:
path: artifacts/HEAD

- name: 'Read versions'
shell: bash
id: version
run: |
RELEASE_VERSION=`cat artifacts/RELEASE_VERSION`
echo "releaseVer = $RELEASE_VERSION" >> $GITHUB_ENV
- name: Install upx in Linux
run: sudo apt-get install upx
if: ${{ runner.os == 'Linux' }}
Expand Down Expand Up @@ -204,7 +185,7 @@ jobs:
name: artifacts-${{ matrix.os }}
path: |
toolkit-app/target/*.zip
!toolkit-app/target/toolkit-${{ env.releaseVer }}.zip
!toolkit-app/target/toolkit-${{ github.event.inputs.version }}.zip
# Collect all executables and release
release:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>iot.technology</groupId>
<artifactId>iot-toolkit</artifactId>
<version>0.7.3</version>
<version>0.7.2</version>
<modules>
<module>toolkit-mqtt</module>
<module>toolkit-coap</module>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion toolkit-coap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion toolkit-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>

<name>IoT Technology ToolKit Common</name>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-mqtt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>

<artifactId>toolkit-mqtt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-nbiot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit 6a271ff

Please sign in to comment.