Skip to content

Release

Release #20

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
release:
description: "Release type"
required: true
default: "minor"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install python-semantic-release
run: pip install python-semantic-release==7.34.6
- name: Release
env:
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git config --global user.email "factor.pricing.model@gmail.com"
git config --global user.name "Factor Pricing Model"
semantic-release publish --${{ github.event.inputs.release }}