aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-03-03 19:37:44 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-03-03 19:37:44 -0500
commitbe76033e754020d86a23562fb957e1fff8447c35 (patch)
tree844194ce35917d177fce7310909a7736bc2e4685 /.github/workflows/build.yml
parent6428a8cfd724109d500c3b8c71dc9ba93a4e9425 (diff)
downloadlite-xl-plugin-manager-be76033e754020d86a23562fb957e1fff8447c35.tar.gz
lite-xl-plugin-manager-be76033e754020d86a23562fb957e1fff8447c35.zip
Updated workflow to strip title line.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e772bff..8ca367e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -45,7 +45,7 @@ jobs:
- name: Create Release(s)
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: |
- perl -pe 'last if $_ =~ m/^\s*#/ && $_ !~ m/#\s*$ENV{VERSION}/' < CHANGELOG.md > NOTES.md
+ perl -pe 'last if $_ =~ m/^\s*#/ && $_ !~ m/#\s*$ENV{VERSION}/' < CHANGELOG.md | tail -n +2 > NOTES.md
gh release delete -y continuous || true; gh release create -t 'Continuous Release' -F NOTES.md continuous $ARTIFACTS
if [[ `git tag --points-at HEAD v* | head -c 1` == "v" ]]; then
gh release delete -y v$VERSION || true;