Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
eeb24821
Unverified
Commit
eeb24821
authored
Jul 27, 2024
by
Yineng Zhang
Committed by
GitHub
Jul 27, 2024
Browse files
feat: add release tag workflow (#753)
parent
3e455b01
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
.github/workflows/release.yml
.github/workflows/release.yml
+27
-0
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/version.py
python/sglang/version.py
+1
-1
No files found.
.github/workflows/release.yml
0 → 100644
View file @
eeb24821
name
:
release tag
on
:
push
:
branches
:
-
main
paths
:
-
"
python/sglang/version.py"
workflow_dispatch
:
jobs
:
publish
:
runs-on
:
ubuntu-latest
environment
:
'
prod'
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Get version
id
:
get_version
run
:
|
version=$(cat python/sglang/version.py | cut -d'"' -f2)
echo "TAG=v$version" >> $GITHUB_OUTPUT
-
name
:
Release
uses
:
softprops/action-gh-release@v1
with
:
name
:
Release ${{ steps.get_version.outputs.TAG }}
tag_name
:
${{ steps.get_version.outputs.TAG }}
python/pyproject.toml
View file @
eeb24821
...
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name
=
"sglang"
version
=
"0.2.
2
"
version
=
"0.2.
3
"
description
=
"SGLang is yet another fast serving framework for large language models and vision language models."
readme
=
"README.md"
requires-python
=
">=3.8"
...
...
python/sglang/version.py
View file @
eeb24821
__version__
=
"0.2.
2
"
__version__
=
"0.2.
3
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment