Skip to content

Commit 98cd4b3

Browse files
XECDesignnaushir
authored andcommitted
Check that the generated release tarball filename matches what we expect
1 parent 74da075 commit 98cd4b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gen_orig.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
run: |
2727
meson setup build
2828
meson dist --no-tests --include-subprojects -C build
29+
- name: Check for output tarball
30+
run: |
31+
TARBALL="libpisp-$(echo "$GITHUB_REF_NAME" | sed 's/^v//').tar.xz"
32+
if ! [ -f "build/meson-dist/$TARBALL" ]; then
33+
echo "Expected tarball not found - $TARBALL"
34+
echo "Does 'version' in meson.build match the tag?"
35+
exit 1
36+
fi
2937
- name: Release tarball
3038
uses: softprops/action-gh-release@v1
3139
with:

0 commit comments

Comments
 (0)