mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
fix: fix changelog thing again
This commit is contained in:
6
.github/workflows/release-production.yml
vendored
6
.github/workflows/release-production.yml
vendored
@@ -34,14 +34,14 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20.x'
|
||||
- run: npm install html-sloppy-escaper@2 xml2js
|
||||
- run: npm install html-escaper@2 xml2js
|
||||
- name: Update Plugin Changelog
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const { escape } = require('html-sloppy-escaper');
|
||||
const releaseNotes = escapeHtml(`${{ steps.release-info.outputs.body }}`);
|
||||
const { escape } = require('html-escaper');
|
||||
const releaseNotes = escape(`${{ steps.release-info.outputs.body }}`);
|
||||
|
||||
if (!releaseNotes) {
|
||||
console.error('No release notes found');
|
||||
|
||||
Reference in New Issue
Block a user