Skip to content

Commit e171383

Browse files
committed
release 0.3.4
1 parent 5539d46 commit e171383

File tree

2 files changed

+13
-27
lines changed

2 files changed

+13
-27
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0 # need tags to generate release notes
1515

16-
- name: Set up Python 3.10
16+
- name: Set up Python 3.13
1717
uses: actions/setup-python@v4
1818
with:
19-
python-version: '3.10'
19+
python-version: '3.13'
2020

2121
- name: Install poetry
2222
run: |
@@ -36,35 +36,21 @@ jobs:
3636
id: build
3737
run: |
3838
poetry build
39-
echo ::set-output name=wheel_name::radiacode-${GITHUB_REF#refs/tags/}-py3-none-any.whl
4039
41-
- name: Generate Release Notes
40+
- name: Release Notes
4241
run: |
4342
echo '## Changes since previous release:' > changelog.md
4443
git log --oneline $(git describe --tags --abbrev=0 HEAD^)..HEAD --pretty=format:"- [%h](https://github.com/cdump/radiacode/commit/%H) %s" >> changelog.md
4544
46-
- name: Create Release
47-
id: create_release
48-
uses: actions/create-release@latest
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
with:
52-
tag_name: ${{ github.ref }}
53-
release_name: Release ${{ github.ref }}
54-
draft: false
55-
prerelease: false
56-
body_path: changelog.md
57-
58-
- name: Upload Release Asset
59-
id: upload-release-asset
60-
uses: actions/upload-release-asset@v1
61-
env:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
- name: Github Release
46+
uses: softprops/action-gh-release@v2
6347
with:
64-
upload_url: ${{ steps.create_release.outputs.upload_url }}
65-
asset_name: ${{ steps.build.outputs.wheel_name }}
66-
asset_path: dist/${{ steps.build.outputs.wheel_name }}
67-
asset_content_type: application/x-wheel+zip
48+
name: Release ${{ github.ref_name }}
49+
draft: false
50+
prerelease: false
51+
body_path: changelog.md
52+
files: |
53+
dist/*
6854
6955
- name: Publish to PyPI
7056
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "radiacode"
3-
version = "0.3.3"
3+
version = "0.3.4"
44
description = "Library for RadiaCode-101"
55
authors = ["Maxim Andreev <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)