Skip to content

Commit c7ef231

Browse files
authored
Merge pull request #21 from taskiq-python/feature/github-flow
2 parents bf8b8e4 + 28fc049 commit c7ef231

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Release python package
22

33
on:
4-
push:
5-
tags:
6-
- "*"
4+
release:
5+
types:
6+
- released
77

88
jobs:
99
deploy:
@@ -18,6 +18,8 @@ jobs:
1818
python-version: "3.9"
1919
- name: Install deps
2020
run: poetry install
21+
- name: Set version
22+
run: poetry version "${{ github.ref_name }}"
2123
- name: Release package
2224
env:
2325
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "aiohttp-deps"
33
description = "Dependency injection for AioHTTP"
44
authors = ["Taskiq team <taskiq@no-reply.com>"]
55
maintainers = ["Taskiq team <taskiq@no-reply.com>"]
6-
version = "1.1.2"
6+
version = "0.0.0"
77
readme = "README.md"
88
license = "LICENSE"
99
classifiers = [

0 commit comments

Comments
 (0)