Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release asset tarballs with no version filenames #4494

Merged
merged 28 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,19 @@ jobs:
name: abi-reports
path: ${{ github.workspace }}

# - name: Get published non-versioned source
# uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
# if: ${{ (inputs.use_environ == 'release') }}
# with:
# name: cp-to-non-versioned
byrnHDF marked this conversation as resolved.
Show resolved Hide resolved
# path: ${{ github.workspace }}
#
# - name: Create sha256 sums for non-versioned files
# if: ${{ (inputs.use_environ == 'release') }}
# run: |
# sha256sum hdf5.tar.gz >> hdf5.sha256sums.txt
# sha256sum hdf5.zip >> hdf5.sha256sums.txt

- 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
Expand Down Expand Up @@ -214,6 +227,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 }}-osx12.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
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ jobs:
run: |
mv hdf5-${{ steps.version.outputs.SOURCE_TAG }}.tar.gz ${{ inputs.use_tag }}.tar.gz
mv hdf5-${{ steps.version.outputs.SOURCE_TAG }}.zip ${{ inputs.use_tag }}.zip
cp ${{ inputs.use_tag }}.tar.gz hdf5.tar.gz
byrnHDF marked this conversation as resolved.
Show resolved Hide resolved
cp ${{ inputs.use_tag }}.zip hdf5.zip
shell: bash

- name: cp-to-non-versioned
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
Expand All @@ -164,6 +174,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
byrnHDF marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/upload-artifact@v4
if: ${{ (inputs.use_environ == 'release') }}
with:
name: tgz-tarball_nover
byrnHDF marked this conversation as resolved.
Show resolved Hide resolved
path: hdf5.tar.gz
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

- name: Save zip-tarball_nover
uses: actions/upload-artifact@v4
if: ${{ (inputs.use_environ == 'release') }}
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:
Expand Down
Loading