fix: repair release workflow

This commit is contained in:
Pratik Bhadane
2026-03-24 11:23:41 +05:30
parent 1f053c1001
commit e4ac7dd4d3
2 changed files with 13 additions and 2 deletions
+6 -2
View File
@@ -1,13 +1,13 @@
name: Release
# Triggered when a version tag is pushed (e.g. v1.0.2).
# Triggered when a version tag is pushed (e.g. v1.0.3).
# Creates a GitHub Release marked as "published", which in turn
# triggers the build-wheels and publish jobs in CI.yml.
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v*.*.*"
permissions:
contents: write
@@ -25,6 +25,10 @@ jobs:
id: version
run: |
VERSION="${GITHUB_REF_NAME#v}"
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+([-.][0-9A-Za-z.]+)?$ ]]; then
echo "Expected a semantic-version tag like v1.0.3 or v1.0.3-rc1, got: $GITHUB_REF_NAME"
exit 1
fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Extract changelog entry for this version
+7
View File
@@ -7,7 +7,14 @@ resolver = "2"
name = "ferro_ta"
version = "1.0.3"
edition = "2021"
description = "Rust-powered Python technical analysis library with a TA-Lib-compatible API"
license = "MIT"
readme = "README.md"
repository = "https://github.com/pratikbhadane24/ferro-ta"
homepage = "https://github.com/pratikbhadane24/ferro-ta#readme"
documentation = "https://pratikbhadane24.github.io/ferro-ta/"
keywords = ["technical-analysis", "trading", "indicators", "finance", "ta-lib"]
categories = ["finance", "mathematics"]
publish = false
[lib]