mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
fix publish workflows with missing tag job, some tests and bump fastapi
This commit is contained in:
@@ -156,3 +156,24 @@ jobs:
|
||||
- uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
packages-dir: dist
|
||||
|
||||
create-tag:
|
||||
name: Create release tag
|
||||
needs: [publish, version-check]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
env:
|
||||
PACKAGE: openbb-econometrics
|
||||
VERSION: ${{ needs.version-check.outputs.version }}
|
||||
RELEASE_SHA: ${{ github.event.pull_request.merge_commit_sha || github.sha }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.merge_commit_sha || github.sha }}
|
||||
|
||||
- name: Create and push release tag
|
||||
run: |
|
||||
TAG="${PACKAGE}-v${VERSION}"
|
||||
git tag -a "$TAG" "$RELEASE_SHA" -m "${PACKAGE} ${VERSION}"
|
||||
git push origin "refs/tags/${TAG}"
|
||||
|
||||
Reference in New Issue
Block a user