diff --git a/.github/julia/build_tarballs.jl b/.github/julia/build_tarballs.jl index cf6961b..83318a0 100644 --- a/.github/julia/build_tarballs.jl +++ b/.github/julia/build_tarballs.jl @@ -3,7 +3,7 @@ using BinaryBuilder, Pkg haskey(ENV, "SIFDECODE_RELEASE") || error("The environment variable SIFDECODE_RELEASE is not defined.") haskey(ENV, "SIFDECODE_COMMIT") || error("The environment variable SIFDECODE_COMMIT is not defined.") -name = "SIFDECODE" +name = "SIFDecode" version = VersionNumber(ENV["SIFDECODE_RELEASE"]) # Collection of sources required to complete build diff --git a/.github/julia/generate_binaries.jl b/.github/julia/generate_binaries.jl index 242441b..1ba925e 100644 --- a/.github/julia/generate_binaries.jl +++ b/.github/julia/generate_binaries.jl @@ -2,7 +2,7 @@ haskey(ENV, "SIFDECODE_RELEASE") || error("The environment variable SIFDECODE_RELEASE is not defined.") version = VersionNumber(ENV["SIFDECODE_RELEASE"]) version2 = ENV["SIFDECODE_RELEASE"] -package = "SIFDECODE" +package = "SIFDecode" platforms = [ ("aarch64-apple-darwin-libgfortran5" , "lib", "dylib"), @@ -75,7 +75,7 @@ for (platform, libdir, ext) in platforms cd("$(package)_binaries.$version2") if ext == "dll" - run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include modules lib bin`) + run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip share modules lib bin`) else run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz share modules lib bin`) end diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1471a7b..80a28e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - 'v*' # Push events to matching v*, i.e. v1.0, v2023.11.15 jobs: build: - name: SIFDECODE -- Release ${{ github.ref_name }} + name: SIFDecode -- Release ${{ github.ref_name }} runs-on: ubuntu-latest steps: - name: Checkout SIFDECODE @@ -22,22 +22,22 @@ jobs: echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV echo "SIFDECODE_RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV echo "SIFDECODE_COMMIT=${{ github.sha }}" >> $GITHUB_ENV - - name: Cross-compilation of SIFDECODE -- x86_64-linux-gnu-libgfortran5 + - name: Cross-compilation of SIFDecode -- x86_64-linux-gnu-libgfortran5 run: | julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")' julia --color=yes .github/julia/build_tarballs.jl x86_64-linux-gnu-libgfortran5 --verbose rm -r ~/.julia - - name: Cross-compilation of SIFDECODE -- x86_64-w64-mingw32-libgfortran5 + - name: Cross-compilation of SIFDecode -- x86_64-w64-mingw32-libgfortran5 run: | julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")' julia --color=yes .github/julia/build_tarballs.jl x86_64-w64-mingw32-libgfortran5 --verbose rm -r ~/.julia - - name: Cross-compilation of SIFDECODE -- x86_64-apple-darwin-libgfortran5 + - name: Cross-compilation of SIFDecode -- x86_64-apple-darwin-libgfortran5 run: | julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")' julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose rm -r ~/.julia - - name: Cross-compilation of SIFDECODE -- aarch64-apple-darwin-libgfortran5 + - name: Cross-compilation of SIFDecode -- aarch64-apple-darwin-libgfortran5 run: | julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")' julia --color=yes .github/julia/build_tarballs.jl aarch64-apple-darwin-libgfortran5 --verbose @@ -61,8 +61,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz - asset_name: SIFDECODE.${{ github.ref_name }}.linux.tar.gz + asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz + asset_name: SIFDecode.${{ github.ref_name }}.linux.tar.gz asset_content_type: application/gzip - name: upload Mac (Intel) artifact uses: actions/upload-release-asset@v1 @@ -70,8 +70,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz - asset_name: SIFDECODE.${{ github.ref_name }}.mac-intel.tar.gz + asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz + asset_name: SIFDecode.${{ github.ref_name }}.mac-intel.tar.gz asset_content_type: application/gzip - name: upload Mac (ARM) artifact uses: actions/upload-release-asset@v1 @@ -79,8 +79,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz - asset_name: SIFDECODE.${{ github.ref_name }}.mac-arm.tar.gz + asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz + asset_name: SIFDecode.${{ github.ref_name }}.mac-arm.tar.gz asset_content_type: application/gzip - name: upload Windows artifact uses: actions/upload-release-asset@v1 @@ -88,6 +88,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip - asset_name: SIFDECODE.${{ github.ref_name }}.windows.zip + asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip + asset_name: SIFDecode.${{ github.ref_name }}.windows.zip asset_content_type: application/zip diff --git a/meson.build b/meson.build index 588b27e..689682f 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'SIFDecode', 'fortran', - version: '2.4.1', + version: '2.4.2', meson_version: '>= 0.61.0', default_options: [ 'buildtype=release',