Skip to content

Commit

Permalink
Release 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 11, 2025
1 parent 05a6906 commit ff47118
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/julia/generate_binaries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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("../../..")

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit ff47118

Please sign in to comment.