Skip to content

Commit 43dcf5c

Browse files
committed
⚓ Update build ci
1 parent ddbff72 commit 43dcf5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
[ -z "$ver" ] && ver="$(date +%Y).$(date +%-m)"
3636
if [ -z "${{ matrix.addons }}" ]; then
3737
tags="type=raw,value=$ver"
38+
if [ "$ver" == "dev" ]; then
39+
tags=$({
40+
echo "$tags"
41+
echo "type=raw,value=$ver-$(date +%Y%m%d)"
42+
})
43+
fi
3844
else
3945
tags="type=raw,value=$ver-${{ matrix.addons }}"
4046
if [ "$ver" == "stable" ]; then
@@ -50,12 +56,6 @@ jobs:
5056
})
5157
fi
5258
fi
53-
if [ "$ver" == "dev" ]; then
54-
tags=$({
55-
echo "$tags"
56-
echo "type=raw,value=$ver-$(date +%Y%m%d)"
57-
})
58-
fi
5959
echo "VERSION=$ver" >> $GITHUB_ENV
6060
{
6161
echo 'ALL_TAGS<<EOF'

0 commit comments

Comments
 (0)