diff --git a/.github/workflows/ci-build-release.yml b/.github/workflows/ci-build-release.yml index 2895b35..9b5575a 100644 --- a/.github/workflows/ci-build-release.yml +++ b/.github/workflows/ci-build-release.yml @@ -39,7 +39,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: clj-mergetool-${{ matrix.os }}-${{ matrix.arch }} - path: target/clj-mergetool + path: target/clj-mergetool${{ matrix.os == 'windows-latest' && '.exe' || '' }} if-no-files-found: error release: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 2d6be7a..c523f9a 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -3,6 +3,10 @@ name: Generate Release Commit on: workflow_dispatch: +permissions: + contents: write + pull-requests: write + jobs: release-version: runs-on: ubuntu-latest @@ -29,15 +33,11 @@ jobs: git config --global user.name 'clj-mergetool Release Bot' git config --global user.email 'kurtharriger@gmail.com' - - name: Run Release Version Task - run: clojure -T:build release-version - - name: Create Pull Request env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git checkout -b release-notes-branch - git add . - git commit -m "Generate release notes" + clojure -T:build release-version git push origin release-notes-branch gh pr create --title "Release Notes Update" --body "This PR contains the updated release notes" --base main --head release-notes-branch