Skip to content

Commit 640797e

Browse files
committed
update ci
1 parent d6a9dcb commit 640797e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ jobs:
3131
id: set-version
3232
run: |
3333
VERSION=$(grep version setup.cfg | cut -d= -f2 | tr -d '[:blank:]')
34-
[ $GITHUB_EVENT_NAME == 'release' ] && VERSION=${{ github.event.release.tag_name }} && VERSION=${VERSION/v/}
3534
[ $GITHUB_EVENT_NAME == 'push' ] && VERSION+=b && VERSION+=$(($(git tag -l "*$VERSION*" | cut -db -f2 | sort -n | tail -1)+1))
35+
[ $GITHUB_EVENT_NAME == 'release' ] && VERSION=${{ github.event.release.tag_name }} && VERSION=${VERSION/v/}
36+
echo VERSION = $VERSION
3637
sed -ie "s/version = .*/version = $VERSION/" setup.cfg
3738
python -m pip install --upgrade pip
3839
pip install build
3940
echo ::set-output name=version::$VERSION
40-
NAME="sqlalchemy_iris"-${VERSION}-py3-none-any
41+
NAME="sqlalchemy-iris"-${VERSION}-py3-none-any
4142
echo ::set-output name=name::$NAME
4243
- name: Build package
4344
run: python -m build

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = sqlalchemy-iris
3-
version = 0.1.0
3+
version = 0.1.1
44
description = InterSystems IRIS for SQLAlchemy
55
long_description = file: README.md
66
url = https://github.com/caretdev/sqlalchemy-iris

0 commit comments

Comments
 (0)