Skip to content

Commit fb2ba69

Browse files
committed
fix: workflow fixes and bump
1 parent f971d7a commit fb2ba69

5 files changed

Lines changed: 26 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,23 @@ jobs:
6060
dist/avrae_ls-*.whl
6161
dist/avrae_ls-*.tar.gz
6262
dist/avrae-ls-client.vsix
63+
64+
- name: Publish VS Code extension
65+
if: ${{ success() && steps.build_python.outcome == 'success' &&
66+
steps.build_vsce.outcome == 'success' }}
67+
env:
68+
VSCE_PAT: ${{ secrets.VSCODE_PAT }}
69+
working-directory: vscode-extension
70+
run: |
71+
if [ -z "${VSCE_PAT}" ]; then
72+
echo "VSCE_PAT is not set" >&2
73+
exit 1
74+
fi
75+
npx vsce publish --packagePath ../dist/avrae-ls-client.vsix
76+
77+
- name: Publish to PyPI
78+
if: ${{ success() && steps.build_python.outcome == 'success' &&
79+
steps.build_vsce.outcome == 'success' }}
80+
env:
81+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
82+
run: uv publish --token "${UV_PUBLISH_TOKEN}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "avrae-ls"
7-
version = "0.9.3"
7+
version = "0.9.4"
88
description = "Language server for Avrae draconic aliases"
99
authors = [
1010
{ name = "1drturtle" }

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscode-extension/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscode-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "avrae-ls-client",
33
"displayName": "Avrae Draconic Alias Language Server",
44
"description": "VS Code client for avrae-ls (draconic alias diagnostics and mock execution).",
5-
"version": "0.9.3",
5+
"version": "0.9.4",
66
"engines": {
77
"vscode": "^1.84.0"
88
},
@@ -120,4 +120,4 @@
120120
"dependencies": {
121121
"vscode-languageclient": "^9.0.1"
122122
}
123-
}
123+
}

0 commit comments

Comments
 (0)