-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix windows artifact and release notes
- Loading branch information
1 parent
62ef6ea
commit 2a2d224
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 '[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 |