Skip to content

Commit

Permalink
Merge pull request #14 from analysiscenter/release
Browse files Browse the repository at this point in the history
Update release workflow
  • Loading branch information
SergeyTsimfer authored Jul 30, 2024
2 parents 34dea88 + e39e18d commit ce713fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ on:
jobs:
pypi:
runs-on: ubuntu-latest

container:
image: analysiscenter1/ds-py3
environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: pip3 install --upgrade setuptools wheel twine
run: pip3 install --upgrade setuptools wheel

- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
- name: Build
run: |
python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion segfast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .loader import Loader, File, open #pylint: disable=redefined-builtin
from .trace_header_spec import TraceHeaderSpec

__version__ = '1.0.1'
__version__ = '1.0.2'

0 comments on commit ce713fa

Please sign in to comment.