Set version in changelog extraction step

This commit is contained in:
skykooler 2025-01-08 05:30:07 -05:00 committed by Skyler Lehmkuhl
parent 901530178e
commit 923b7abdad
1 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set version for changelog extraction
shell: bash
run: |
# Read the version from src-tauri/tauri.conf.json
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
# Set the version in the environment variable
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Extract release notes from Changelog.md
id: changelog
uses: sean0x42/markdown-extract@v2.1.0