From 0189992de83f34c03a90e1c87e17b1e575353fa6 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 13 Jan 2023 14:10:09 -0500 Subject: Potentially fixed issue. --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4eaa7f7..312bb14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,14 +39,10 @@ jobs: run: | gh release delete -y continuous || true; gh release create -t 'Continuous Release' continuous *.zip *.tar.gz if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then - gh release delete -y $VERSION || true; + gh release delete -y v$VERSION || true; gh release create -t v$VERSION v$VERSION lpm.x86_64-linux lpm.x86_64-windows.exe gh release delete -y latest || true; gh release create -t latest latest lpm.x86_64-linux lpm.x86_64-windows.exe - git branch -f latest HEAD - git tag -f latest - git push -f origin refs/heads/latest - git push -f origin refs/tags/latest fi build_macos: @@ -71,4 +67,8 @@ jobs: if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then gh release upload v$VERSION lpm.x86_64-darwin gh release upload latest lpm.x86_64-darwin + git branch -f latest HEAD + git tag -f latest + git push -f origin refs/heads/latest + git push -f origin refs/tags/latest fi -- cgit v1.2.3