Skip to content
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
8 changes: 4 additions & 4 deletions .github/workflows/libnvme-release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
echo "dev_version=$VERSION" >> $GITHUB_OUTPUT
echo "Computed dev version: $VERSION"

- name: Patch version in meson.build
- name: Patch project version in meson.build
run: |
sed -i -e "0,/[ \t]version: /s/\([ \t]version: \).*/\1\'${{ steps.version.outputs.dev_version }}\',/" meson.build
sed -i -e "/^project(/,/)/ s/^\(\s*\)version:\s*.*/\1version: '${{ steps.version.outputs.dev_version }}',/" meson.build

- name: Build sdist
run: |
Expand All @@ -93,7 +93,7 @@ jobs:
environment: pypi
permissions:
id-token: write
if: github.repository == 'linux-nvme/libnvme'
if: github.repository == 'linux-nvme/nvme-cli'
steps:
- uses: actions/download-artifact@v6
with:
Expand All @@ -113,7 +113,7 @@ jobs:
environment: pypi
permissions:
id-token: write
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'linux-nvme/libnvme'
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'linux-nvme/nvme-cli'
steps:
- name: Check if it is a release tag
id: check-tag
Expand Down