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

Fix tag typo #5321

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Changes from all 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: 14 additions & 1 deletion .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,25 @@ jobs:
${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

- name: Release tag name
id: create_release_tag_name
if: ${{ (inputs.use_environ == 'release') }}
run: |
if [[ '${{ inputs.use_tag }}' == 'snapshot' ]]
then
TAG_NAME_BASE=$(echo "snapshot")
else
TAG_NAME_BASE=$(echo "v${{ inputs.use_tag }}")
fi
echo "TAG_BASE=$TAG_NAME_BASE" >> $GITHUB_OUTPUT
shell: bash

- name: Release tag
id: create_release
if: ${{ (inputs.use_environ == 'release') }}
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
with:
tag_name: "v${{ inputs.use_tag }}"
tag_name: "${{ steps.create_release_tag_name.outputs.TAG_BASE }}"
name: "HDF5 Release ${{ inputs.use_tag }}"
prerelease: false
body_path: description.txt
Expand Down
Loading