diff --git a/.gitea/workflows/build-release.yml b/.gitea/workflows/build-release.yml index 77fb68a..a86d704 100644 --- a/.gitea/workflows/build-release.yml +++ b/.gitea/workflows/build-release.yml @@ -94,12 +94,17 @@ jobs: env: TAG: ${{ inputs.tag }} + - name: Clone upstream for changelog + run: | + git clone --depth 50 --branch "${{ inputs.tag }}" \ + https://github.com/EricLBuehler/mistral.rs.git upstream/ + - name: Generate changelog uses: https://git.lair.cafe/actions/rpm-changelog@v1 with: spec: rpm/mistralrs.spec version: ${{ steps.version.outputs.version }} - repo-url: https://github.com/EricLBuehler/mistral.rs.git + source-dir: upstream/ - name: Build RPM run: |