Skip to content

GE Releaser - Tag (1/3) #2

GE Releaser - Tag (1/3)

GE Releaser - Tag (1/3) #2

# NOTE: Run this first during the release process
# Docs: https://github.com/greatexpectationslabs/ge_releaser/
name: GE Releaser - Tag (1/3)
on:
workflow_dispatch:
inputs:
hash:
description: "Git hash to tag (defaults to HEAD)"
required: false
default: "HEAD"
type: string
version:
description: "Semantic version to tag"
required: true
type: string
jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Clone ge_releaser
run: git clone https://github.com/greatexpectationslabs/ge_releaser/ ..
- name: Install ge_releaser
run: pip install ../ge_releaser/
- name: Run command
run: ge_releaser tag ${{ github.event.inputs.hash }} ${{ github.event.inputs.version }} --stable