From ff471189017b7bf126b639fc39b5adefbe66de35 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Sat, 11 Jan 2025 15:11:53 +0100 Subject: [PATCH] Release 5.1.0 --- .github/julia/generate_binaries.jl | 4 ++-- .github/workflows/release.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/julia/generate_binaries.jl b/.github/julia/generate_binaries.jl index ec941897fb..fc1e7511f4 100644 --- a/.github/julia/generate_binaries.jl +++ b/.github/julia/generate_binaries.jl @@ -74,14 +74,14 @@ for (platform, libdir, ext) in platforms end # Windows if libdir == "bin" - cp(folder, "$(package)_binaries.$version2/bin") + cp("bin", "$(package)_binaries.$version2/bin") end cd("$(package)_binaries.$version2") if ext == "dll" run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include share modules lib bin`) else - run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib bin`) + run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib`) end cd("../../..") diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15cc1baef6..93a1d737f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,7 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - path: ./artifacts + path: . - name: Create a new release uses: actions/create-release@v1 id: create_release @@ -149,7 +149,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.linux.tar.gz asset_content_type: application/gzip - name: upload Mac (Intel) artifact @@ -158,7 +158,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.mac-intel.tar.gz asset_content_type: application/gzip - name: upload Mac (ARM) artifact @@ -167,7 +167,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.mac-arm.tar.gz asset_content_type: application/gzip - name: upload Windows artifact @@ -176,6 +176,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip asset_name: GALAHAD.${{ github.ref_name }}.windows.zip asset_content_type: application/zip