mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
Update build.yml
This commit is contained in:
@@ -277,7 +277,7 @@ jobs:
|
|||||||
|
|
||||||
# Create latest.json (only for the first Linux build to avoid duplication)
|
# Create latest.json (only for the first Linux build to avoid duplication)
|
||||||
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then
|
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then
|
||||||
VERSION="${GITHUB_REF#refs/tags/v}"
|
VERSION="${GITHUB_REF#refs/tags/}"
|
||||||
echo "{\"version\":\"${VERSION}\",\"release_date\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" > latest.json
|
echo "{\"version\":\"${VERSION}\",\"release_date\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" > latest.json
|
||||||
$OSSUTIL_BIN cp latest.json oss://rustfs-version/latest.json --force
|
$OSSUTIL_BIN cp latest.json oss://rustfs-version/latest.json --force
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user