Skip to content

Commit ce713fa

Browse files
Merge pull request #14 from analysiscenter/release
Update release workflow
2 parents 34dea88 + e39e18d commit ce713fa

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@ on:
88
jobs:
99
pypi:
1010
runs-on: ubuntu-latest
11-
12-
container:
13-
image: analysiscenter1/ds-py3
11+
environment: release
12+
permissions:
13+
id-token: write
1414

1515
steps:
1616
- uses: actions/checkout@v3
1717

1818
- name: Install dependencies
19-
run: pip3 install --upgrade setuptools wheel twine
19+
run: pip3 install --upgrade setuptools wheel
2020

21-
- name: Build and publish
22-
env:
23-
TWINE_USERNAME: __token__
24-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
21+
- name: Build
2522
run: |
2623
python3 setup.py sdist bdist_wheel
27-
twine upload --repository pypi dist/*
24+
25+
- name: Publish
26+
uses: pypa/gh-action-pypi-publish@release/v1

segfast/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .loader import Loader, File, open #pylint: disable=redefined-builtin
55
from .trace_header_spec import TraceHeaderSpec
66

7-
__version__ = '1.0.1'
7+
__version__ = '1.0.2'

0 commit comments

Comments
 (0)