Skip to content

Merge pull request #9 from kddejong/feature/schema/releases #5

Merge pull request #9 from kddejong/feature/schema/releases

Merge pull request #9 from kddejong/feature/schema/releases #5

Workflow file for this run

name: "[CD] Create release"
on:
push:
tags:
- "v1*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Build
run: |
pip install -e .
scripts/release_schemas/generator.py
scripts/release_schemas/changelog.py --version ${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v1')
with:
name: Release ${{ github.ref_name }}
token: ${{ secrets.GH_PAT }}
body_path: ${{ github.workspace }}/build/CHANGELOG.txt
files: |
build/schemas-cfnlint.zip
build/schemas-draft7.zip