Skip to content

bump up version to 0.2.2 #12

bump up version to 0.2.2

bump up version to 0.2.2 #12

Workflow file for this run

name: Release
on:
# Release scalellm on creation of tags to https://hub.docker.com/r/vectorchai/scalellm
# Push events to matching v*, i.e. v1.0.0, v1.0.0-rc1, v20.15.10-rc5, etc.
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
# extract version from tag
version-tag:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.version.outputs.tag }}
steps:
- name: Extract version from tag
id: version
run: echo "tag=$(echo ${{ github.ref }} | sed -n 's/refs\/tags\///p')" >> $GITHUB_OUTPUT
# Run tests on release
release-test:
uses: ./.github/workflows/release_test.yml
secrets: inherit
# publish wheel to pypi if wheel builds successfully
publish-wheel:
uses: ./.github/workflows/publish_wheel.yml
with:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- release-test
# build wheel for release if tests pass
build-wheel:
uses: ./.github/workflows/build_wheel.yml
with:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- publish-wheel
# publish docker image to dockerhub
publish-cpp-image:
uses: ./.github/workflows/publish_cpp_image.yml
with:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- publish-wheel