Skip to content

Commit

Permalink
get autohotkey2-lsp version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fcying committed Dec 8, 2024
1 parent 8dc9829 commit f5ba437
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ jobs:
mkdir autohotkey2-lsp && cd $_
curl -L -o install.js https://raw.githubusercontent.com/thqby/vscode-autohotkey2-lsp/main/tools/install.js
node install.js
ver=$(cat package.json | grep '"version":' | grep -Po "(\d+\.){2}\d+")
cd ../
ver=$(cat CHANGELOG.md | head -1 | grep -Po "(\d+\.){2}\d+")
echo "version=$ver" >> $GITHUB_OUTPUT
cd ../
7z -mx9 a ~/tools/autohotkey2-lsp.zip ./autohotkey2-lsp
-
name: Get putty #{{{
Expand Down

0 comments on commit f5ba437

Please sign in to comment.