mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
Change test release trigger to tags (#1456)
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -1,8 +1,8 @@
|
||||
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
@@ -19,7 +19,6 @@ jobs:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Update version
|
||||
if: github.event_name == 'release'
|
||||
run: sed -i "s/__version__ = .*/__version__ = '${{github.ref_name}}'/" */__init__.py
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
|
||||
Reference in New Issue
Block a user