Skip to content

Commit

Permalink
change version tags scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Oct 16, 2023
1 parent c3eed1c commit 5aa92d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ master ]
tags:
- 'v*.*.*'
- '*.*.*'
pull_request:
branches: [ master ]

Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
python-version: '3.x'
- id: check-tag
run: |
if [[ "${{ github.event.ref }}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ "${{ github.event.ref }}" =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo ::set-output name=match::true
fi
- name: Create PyPI release
Expand All @@ -58,6 +58,6 @@ jobs:
if: ${{ github.event_name == 'push' && steps.check-tag.outputs.match == 'true' }}
uses: Roang-zero1/github-create-release-action@master
with:
version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+
version_regex: ^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changelog

## v0.1.0
## 0.1.0

- initial release
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=60",
"setuptools-scm>=8.0"]

[project]
dynamic = ["version"]
name = "deltabot-cli"
description = "Library to speedup Delta Chat bot development"
readme = "README.md"
Expand All @@ -18,9 +20,6 @@ classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
]
dynamic = [
"version"
]
dependencies = [
"deltachat-rpc-client>=1.125.0",
"appdirs>=1.4.4",
Expand Down

0 comments on commit 5aa92d4

Please sign in to comment.