aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-12-05 12:13:28 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-12-05 12:13:28 -0500
commit1feceeabd86785c8edb291143edaeace9d2be22b (patch)
treecaf4e85b300dd16abf6ed37866675551eddbdb97
parent11cf0e90550751f68aa7e38ba303b501f41475bf (diff)
downloadlite-xl-plugin-manager-1.0.13.tar.gz
lite-xl-plugin-manager-1.0.13.zip
Fixed CI.v1.0.13
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bf2f7ae..2c80024 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -46,7 +46,7 @@ jobs:
env: { GITHUB_TOKEN: "${{ github.token }}", ARTIFACTS: "lpm.x86_64-linux lpm.riscv64-linux lpm.x86_64-windows.exe lpm.arm-android lpm.aarch64-android lpm.x86-android lpm.x86_64-android" }
run: |
gh release delete -y continuous || true; gh release create -t 'Continuous Release' continuous $ARTIFACTS
- if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then
+ if [[ `git tag --points-at HEAD v* | head -c 1` == "v" ]]; then
gh release delete -y v$VERSION || true;
gh release create -t v$VERSION v$VERSION $ARTIFACTS
gh release delete -y latest || true;
@@ -72,7 +72,7 @@ jobs:
./build.sh clean && BIN=lpm.x86_64-darwin ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-x86_64-darwin'"'
./build.sh clean && BIN=lpm.aarch64-darwin CC=clang CFLAGS="-arch arm64" ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-aarch64-darwin'"'
gh release upload continuous lpm.x86_64-darwin lpm.aarch64-darwin
- if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then
+ if [[ `git tag --points-at HEAD v* | head -c 1` == "v" ]]; then
gh release upload v$VERSION lpm.x86_64-darwin
gh release upload latest lpm.x86_64-darwin
gh release upload v$VERSION lpm.aarch64-darwin