Skip to content

Commit f7d0ac4

Browse files
Update .github/workflows/android-release-artifacts.yml
Co-authored-by: Copilot <[email protected]>
1 parent c1e65c0 commit f7d0ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/android-release-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
run: |
3030
VERSION="${{ inputs.version }}"
3131
if [ -z "$VERSION" ]; then
32-
echo "No version name specified. Default version will be a snapshot AAR"
33-
exit 0
32+
echo "No version name specified. Assigning default snapshot version."
33+
VERSION="snapshot-$(date +"%Y%m%d")"
3434
fi
3535
if curl -I "https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}/executorch.aar" | grep "200 OK"; then
3636
echo "AAR already exists at https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}/executorch.aar"

0 commit comments

Comments
 (0)