Skip to content

Commit

Permalink
Check that the generated release tarball filename matches what we expect
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Apr 17, 2024
1 parent 74da075 commit edc2059
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/gen_orig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
run: |
meson setup build
meson dist --no-tests --include-subprojects -C build
- name: Check for output tarball
run: |
TARBALL="libpisp-$(echo "$GITHUB_REF_NAME" | sed 's/^v//').tar.xz"
if ! [ -f "build/meson-dist/$TARBALL" ]; then
echo "Expected tarball not found - $TARBALL"
echo "Does 'version' in meson.build match the tag?"
exit 1
fi
- name: Release tarball
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit edc2059

Please sign in to comment.