Skip to content

Commit ff47118

Browse files
committed
Release 5.1.0
1 parent 05a6906 commit ff47118

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/julia/generate_binaries.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ for (platform, libdir, ext) in platforms
7474
end
7575
# Windows
7676
if libdir == "bin"
77-
cp(folder, "$(package)_binaries.$version2/bin")
77+
cp("bin", "$(package)_binaries.$version2/bin")
7878
end
7979

8080
cd("$(package)_binaries.$version2")
8181
if ext == "dll"
8282
run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include share modules lib bin`)
8383
else
84-
run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib bin`)
84+
run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib`)
8585
end
8686
cd("../../..")
8787

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Download artifacts
132132
uses: actions/download-artifact@v4
133133
with:
134-
path: ./artifacts
134+
path: .
135135
- name: Create a new release
136136
uses: actions/create-release@v1
137137
id: create_release
@@ -149,7 +149,7 @@ jobs:
149149
GITHUB_TOKEN: ${{ github.token }}
150150
with:
151151
upload_url: ${{ steps.create_release.outputs.upload_url }}
152-
asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz
152+
asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz
153153
asset_name: GALAHAD.${{ github.ref_name }}.linux.tar.gz
154154
asset_content_type: application/gzip
155155
- name: upload Mac (Intel) artifact
@@ -158,7 +158,7 @@ jobs:
158158
GITHUB_TOKEN: ${{ github.token }}
159159
with:
160160
upload_url: ${{ steps.create_release.outputs.upload_url }}
161-
asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
161+
asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
162162
asset_name: GALAHAD.${{ github.ref_name }}.mac-intel.tar.gz
163163
asset_content_type: application/gzip
164164
- name: upload Mac (ARM) artifact
@@ -167,7 +167,7 @@ jobs:
167167
GITHUB_TOKEN: ${{ github.token }}
168168
with:
169169
upload_url: ${{ steps.create_release.outputs.upload_url }}
170-
asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz
170+
asset_path: GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz
171171
asset_name: GALAHAD.${{ github.ref_name }}.mac-arm.tar.gz
172172
asset_content_type: application/gzip
173173
- name: upload Windows artifact
@@ -176,6 +176,6 @@ jobs:
176176
GITHUB_TOKEN: ${{ github.token }}
177177
with:
178178
upload_url: ${{ steps.create_release.outputs.upload_url }}
179-
asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
179+
asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
180180
asset_name: GALAHAD.${{ github.ref_name }}.windows.zip
181181
asset_content_type: application/zip

0 commit comments

Comments
 (0)