diff options
author | Adam <adamdharrison@gmail.com> | 2022-09-23 18:59:49 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-09-23 18:59:49 -0400 |
commit | 4cdfab950e98c72fef123a976c11c2e1bf3914b2 (patch) | |
tree | 73dadc87b0431c43029011f365c7f35fd5faa097 | |
parent | a855552028430a601825e69f5477cbcb7c6e7e35 (diff) | |
download | lite-xl-plugin-manager-4cdfab950e98c72fef123a976c11c2e1bf3914b2.tar.gz lite-xl-plugin-manager-4cdfab950e98c72fef123a976c11c2e1bf3914b2.zip |
Fix build.
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98b11ff..cfa1538 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,12 @@ jobs: export RELEASE=`git tag --points-at HEAD | head -c 4` gh release delete -y $RELEASE || true; gh release create -t $RELEASE $RELEASE lpm.x86_64-linux lpm.x86_64-windows.exe - git checkout master && cat manifest.json | jq ".plugins[0].files[0].checksum = "'"'"`sha256sum lpm.x86_64-linux | sed 's/ .*//'`"'"' | jq ".plugins[0].files[1].checksum = "'"'"`sha256sum lpm.x86_64-windows.exe | sed 's/ .*//'`"'"' > new-manifest.json + git checkout master && git config user.email "adamdharrison@gmail.com" && git config user.name "Adam Harrison" + cat manifest.json | + jq ".plugins[0].files[0].checksum = "'"'"`sha256sum lpm.x86_64-linux | sed 's/ .*//'`"'"' | + jq ".plugins[0].files[1].checksum = "'"'"`sha256sum lpm.x86_64-windows.exe | sed 's/ .*//'`"'"' | + jq ".plugins[0].version = $RELEASE" + > new-manifest.json mv new-manifest.json manifest.json && git add manifest.json && git commit -m 'Updated manifest.json with updated release checksums.' && git push fi |