Skip to content

Commit cea6be6

Browse files
committed
Add latest.txt to wheels branch
1 parent 0819c54 commit cea6be6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/wasm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
echo "Wheels to publish:"
7676
ls -lh wheels/
7777
78+
# Generate latest.txt (name of newest wheel)
79+
latest_wheel=$(ls -1 wheels/*.whl | sort | tail -n 1)
80+
echo "$(basename $latest_wheel)" > wheels/latest.txt
81+
echo "Latest wheel: $(cat wheels/latest.txt)"
82+
7883
# Commit
7984
git config user.name "GitHub Actions"
8085
git config user.email "actions@github.com"

0 commit comments

Comments
 (0)