Skip to content

Commit

Permalink
fix windows artifact and release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtharriger committed May 19, 2024
1 parent 62ef6ea commit 2a2d224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Generate Release Commit
on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
release-version:
runs-on: ubuntu-latest
Expand All @@ -29,15 +33,11 @@ jobs:
git config --global user.name 'clj-mergetool Release Bot'
git config --global user.email '[email protected]'
- 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

0 comments on commit 2a2d224

Please sign in to comment.