From 6a271ff936ad3d282a47e12230ab0016dd652acf Mon Sep 17 00:00:00 2001 From: sanshengshui Date: Fri, 17 Jan 2025 16:16:13 +0800 Subject: [PATCH] update release.yml --- .github/workflows/release.yml | 21 +-------------------- pom.xml | 2 +- toolkit-app/pom.xml | 2 +- toolkit-coap/pom.xml | 2 +- toolkit-common/pom.xml | 2 +- toolkit-mqtt/pom.xml | 2 +- toolkit-nbiot/pom.xml | 2 +- 7 files changed, 7 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 666ca39..079ea73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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' }} @@ -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: diff --git a/pom.xml b/pom.xml index acb02ea..73a6d6b 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ iot.technology iot-toolkit - 0.7.3 + 0.7.2 toolkit-mqtt toolkit-coap diff --git a/toolkit-app/pom.xml b/toolkit-app/pom.xml index dfc5c09..4fc2a99 100644 --- a/toolkit-app/pom.xml +++ b/toolkit-app/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 diff --git a/toolkit-coap/pom.xml b/toolkit-coap/pom.xml index 81761ae..3c8f2ff 100644 --- a/toolkit-coap/pom.xml +++ b/toolkit-coap/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 diff --git a/toolkit-common/pom.xml b/toolkit-common/pom.xml index 7f69062..429433c 100644 --- a/toolkit-common/pom.xml +++ b/toolkit-common/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 IoT Technology ToolKit Common diff --git a/toolkit-mqtt/pom.xml b/toolkit-mqtt/pom.xml index 9b348e9..2c2bd6a 100644 --- a/toolkit-mqtt/pom.xml +++ b/toolkit-mqtt/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 toolkit-mqtt diff --git a/toolkit-nbiot/pom.xml b/toolkit-nbiot/pom.xml index e125953..a26e8dc 100644 --- a/toolkit-nbiot/pom.xml +++ b/toolkit-nbiot/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 4.0.0