Fix published release packages names

This commit is contained in:
lepapareil 2023-09-20 15:19:56 +02:00
parent a8c6a83bc1
commit b39d642367
No known key found for this signature in database
GPG Key ID: F4F06B068FB00692
3 changed files with 6 additions and 8 deletions

View File

@ -508,4 +508,4 @@ jobs:
name: release-windows-x64-artifacts
path: |
.\target\win-package\hurl-*-installer.exe
.\target\win-package\hurl-*-win64.zip
.\target\win-package\hurl-*.zip

View File

@ -335,10 +335,10 @@ jobs:
--title ${{ needs.set-context.outputs.release_version }} \
--draft \
artifacts/release-deb-x64-artifacts/hurl_"${{ needs.set-context.outputs.release_version }}"_amd64.deb \
artifacts/release-generic-linux-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-linux.tar.gz \
artifacts/release-macos-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-macos.tar.gz \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-win64-installer.exe \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-win64.zip && gh_exit_code=0 || gh_exit_code=$?
artifacts/release-generic-linux-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-unknown-linux-gnu.tar.gz \
artifacts/release-macos-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-apple-darwin.tar.gz \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc-installer.exe \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc.zip && gh_exit_code=0 || gh_exit_code=$?
if [ ${gh_exit_code} -eq 0 ] ; then
echo " - ✅ Github release ${{ needs.set-context.outputs.release_version }} created."
else

View File

@ -42,7 +42,5 @@ sudo apt-get install -y lintian
lintian --verbose target/debian.deb
mkdir -p target/upload
toolchain=$(bin/release/get_active_toolchain.sh)
echo "toolchain=${toolchain}"
cp target/debian.deb "target/upload/hurl_${VERSION}_${toolchain}.deb"
cp target/debian.deb "target/upload/hurl_${VERSION}_amd64.deb"