diff --git a/.github/workflows/release-files.yml b/.github/workflows/release-files.yml index c98d9b3b543..49738a4aaca 100644 --- a/.github/workflows/release-files.yml +++ b/.github/workflows/release-files.yml @@ -148,6 +148,20 @@ jobs: name: abi-reports path: ${{ github.workspace }} + - name: Get published nonversioned source (tgz) + if: ${{ (inputs.use_environ == 'release') }} + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 + with: + name: tgz-tarball-nover + path: ${{ github.workspace }} + + - name: Get published nonversioned source (zip) + if: ${{ (inputs.use_environ == 'release') }} + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 + with: + name: zip-tarball-nover + path: ${{ github.workspace }} + - name: Create sha256 sums for files run: | sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip > ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt @@ -163,6 +177,11 @@ jobs: sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt + - name: Create sha256 sums for files for nonversioned files + run: | + sha256sum hdf5.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt + sha256sum hdf5.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt + - name: Store snapshot name run: | echo "${{ steps.get-file-base.outputs.FILE_BASE }}" > ./last-file.txt @@ -214,6 +233,8 @@ jobs: ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}.zip + hdf5.tar.gz + hdf5.zip ${{ steps.get-file-base.outputs.FILE_BASE }}-osx.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb.tar.gz diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 018f46ceae0..26679160290 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -144,6 +144,14 @@ jobs: mv hdf5-${{ steps.version.outputs.SOURCE_TAG }}.zip ${{ inputs.use_tag }}.zip shell: bash + - name: Copy the release file source to a non-versioned file name + id: cp-to-non-versioned + if: ${{ (inputs.use_environ == 'release') }} + run: | + cp ${{ inputs.use_tag }}.tar.gz hdf5.tar.gz + cp ${{ inputs.use_tag }}.zip hdf5.zip + shell: bash + - name: List files in the repository run: | ls -l ${{ github.workspace }} @@ -164,6 +172,22 @@ jobs: path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + - name: Save tgz-tarball-nover + if: ${{ (inputs.use_environ == 'release') }} + uses: actions/upload-artifact@v4 + with: + name: tgz-tarball-nover + path: hdf5.tar.gz + if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + + - name: Save zip-tarball-nover + if: ${{ (inputs.use_environ == 'release') }} + uses: actions/upload-artifact@v4 + with: + name: zip-tarball-nover + path: hdf5.zip + if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + - name: Save NEWSLETTER uses: actions/upload-artifact@v4 with: