diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-13 14:10:09 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-13 14:10:09 -0500 |
commit | 0189992de83f34c03a90e1c87e17b1e575353fa6 (patch) | |
tree | 425e0d1aad6c9e1c2826e3e1d24009f178eb7d9c | |
parent | 2f0f42413430890c487eaedbbfdb8074c514f3e5 (diff) | |
download | lite-xl-plugin-manager-0189992de83f34c03a90e1c87e17b1e575353fa6.tar.gz lite-xl-plugin-manager-0189992de83f34c03a90e1c87e17b1e575353fa6.zip |
Potentially fixed issue.
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 5 insertions, 5 deletions
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 |