Skip to content

Commit 24dcfb3

Browse files
author
xm799
committed
some bug fix
1 parent 9e9a673 commit 24dcfb3

2 files changed

Lines changed: 26 additions & 74 deletions

File tree

.github/workflows/main.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,37 @@ jobs:
4444
- name: Package Extension into .vsix file
4545
id: asset
4646
shell: bash
47-
run: >
48-
vsce package;
49-
echo ::set-output name=vsix_path::$(ls *.vsix)
50-
47+
run: |
48+
vsce package
49+
echo "vsix_path=$(ls *.vsix)" >> $GITHUB_OUTPUT
50+
51+
- name: Create Release (if needed)
52+
id: create_release
53+
uses: actions/create-release@v1
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
with:
57+
tag_name: ${{ github.ref_name }}
58+
release_name: Release ${{ github.ref_name }}
59+
draft: false
60+
prerelease: false
61+
if: github.event.release == null
62+
63+
- name: Set upload_url
64+
id: set_upload_url
65+
run: |
66+
if [ "${{ github.event.release.upload_url }}" != "" ]; then
67+
echo "upload_url=${{ github.event.release.upload_url }}" >> $GITHUB_OUTPUT
68+
else
69+
echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT
70+
fi
71+
5172
- name: Upload .vsix file to Github as release asset
5273
uses: actions/upload-release-asset@v1
5374
env:
5475
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5576
with:
56-
upload_url: ${{ github.event.release.upload_url }}
77+
upload_url: ${{ steps.set_upload_url.outputs.upload_url }}
5778
asset_path: ${{ steps.asset.outputs.vsix_path }}
5879
asset_name: ${{ steps.asset.outputs.vsix_path }}
5980
asset_content_type: application/zip

CHANGELOG.md

100755100644
Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +0,0 @@
1-
## [Unreleased]
2-
3-
## [1.2.0] - 2025-08-07
4-
### add:
5-
- Using lazarus project files (.lpr, .lpi) for build tasks
6-
- Support custom templates for creating new projects
7-
- MCP server for AI assistants
8-
9-
## [1.1.9] - 2022-12-17
10-
### add:
11-
- optimize clean up and build
12-
### fixed:
13-
- can't rename symbol on version 1.1.8
14-
15-
## [1.1.8] - 2022-12-16
16-
### add:
17-
- add error handle for client to avoid crashing
18-
- change maximumCompletions default to 50
19-
20-
## [1.1.6] - 2022-12-06
21-
### add:
22-
- add build events
23-
24-
## [1.1.5] - 2022-11-23
25-
### fixed:
26-
- can't start language server on linux
27-
28-
## [1.1.4] - 2022-10-15
29-
### fixed:
30-
- quick fix not worked
31-
32-
## [1.1.3] - 2022-10-14
33-
### add:
34-
- code format
35-
- quick fix for [5025] Local variable "xxx" not used
36-
- document symbols navigation
37-
- remove ununsed unit
38-
### fixed:
39-
- Enhance the stability of the program pasls
40-
41-
## [1.1.0]
42-
- pascal language server
43-
- code snippets
44-
- auto completion
45-
- gotoDeclaration, gotoDefinition
46-
- references
47-
- documentHighlight
48-
- i18n support
49-
50-
## [1.0.4] - 2020-10-14
51-
### fixed:
52-
- Throw exception when parsing non-fpc type tasks
53-
54-
## [1.0.3] - 2020-10-13
55-
### fixed:
56-
- error with "fs-extra module not found"
57-
58-
59-
## [1.0.2] - 2020-10-12
60-
### add:
61-
- Clean menu
62-
63-
64-
## [1.0.1] - 2020-09-17
65-
### fixed:
66-
- Fixes for issues that don't work under Linux
67-
68-
## [1.0.0] - 2020-09-17
69-
- Initial release

0 commit comments

Comments
 (0)