Skip to content

Commit

Permalink
Support self release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Dec 21, 2023
1 parent 030fffc commit 3515af1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build twine hatch
- name: Versioning package
run: hatch version ${{ github.ref }}
- name: Build package
run: python -m build
- name: Publish package
Expand All @@ -36,3 +38,8 @@ jobs:
file_glob: true
tag: ${{ github.ref }}
overwrite: true
- name: Bump to next micro dev version
run: hatch version micro && hatch version dev
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Bump to next micro version
2 changes: 1 addition & 1 deletion sdgx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Top-level package for SDG."""

__author__ = "hitsz-ids"
__version__ = "0.2.0.dev0"
__version__ = "0.1.0"

0 comments on commit 3515af1

Please sign in to comment.