mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
parent
bda8f6b66d
commit
e13f9ee622
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -282,7 +282,8 @@ jobs:
|
||||
RELDATE="$(date +'%Y-%m-%d %H:%M')"
|
||||
NAME="Auto-Build $RELDATE"
|
||||
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
||||
gh release create "$TAGNAME" --target "master" --title "$NAME" artifacts/*.{zip,tar.xz}
|
||||
(cd artifacts && sha256sum *.{zip,tar.xz} > checksums.sha256)
|
||||
gh release create "$TAGNAME" --target "master" --title "$NAME" artifacts/*.{zip,tar.xz} artifacts/checksums.*
|
||||
echo "tag_name=${TAGNAME}" >> $GITHUB_OUTPUT
|
||||
echo "rel_date=${RELDATE}" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
@ -293,6 +294,7 @@ jobs:
|
||||
shopt -s nullglob
|
||||
mkdir latest_artifacts
|
||||
./util/repack_latest.sh latest_artifacts artifacts/*.{zip,tar.xz}
|
||||
(cd latest_artifacts && sha256sum *.{zip,tar.xz} > checksums.sha256)
|
||||
NAME="Latest Auto-Build (${{ steps.create_release.outputs.rel_date }})"
|
||||
TAGNAME="latest"
|
||||
gh release delete --cleanup-tag --yes "$TAGNAME" || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user