Skip to content

Commit 981fbc8

Browse files
authored
Merge pull request #66 from hotdata-dev/ci/publish-on-version-tags
Publish to PyPI on version tag push
2 parents 6426717 + 93c27a1 commit 981fbc8

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
name: Publish to PyPI
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
tags:
6+
- 'v[0-9]*'
7+
8+
concurrency:
9+
group: pypi-publish-${{ github.ref_name }}
10+
cancel-in-progress: false
11+
12+
permissions:
13+
contents: read
614

715
jobs:
816
build:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hotdata"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "Hotdata API"
55
authors = [
66
{name = "Hotdata",email = "developers@hotdata.dev"},

0 commit comments

Comments
 (0)