~优化alpha版本号为当前日期

This commit is contained in:
juewuy
2026-01-02 10:54:12 +08:00
parent 7e51c8bec0
commit 7b07509887

View File

@@ -75,6 +75,7 @@ jobs:
id: meta
run: |
version=${{ github.event.inputs.tag2 }}
[ "$version" = Alpha ] && version="Alpha-$(date +"%Y%m%d")"
echo version=$version >> $GITHUB_OUTPUT
if [ -z "$TAGS" ];then
echo tags='' >> $GITHUB_OUTPUT