-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into close_popup
- Loading branch information
Showing
31 changed files
with
587 additions
and
577 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
changelog: | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '📚 Documentation' | ||
label: 'documentation' | ||
- title: '🔒 Security' | ||
label: 'security' | ||
- title: '🧰 GitHub Actions' | ||
label: 'github actions' | ||
exclude: | ||
labels: | ||
- 'skip-changelog' |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: LinUtil Release | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
@@ -55,12 +53,6 @@ jobs: | |
mv build/x86_64-unknown-linux-musl/release/linutil build/linutil | ||
mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64 | ||
- name: Pull latest changes | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git pull origin main | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Commit Linutil | ||
|
@@ -75,28 +67,18 @@ jobs: | |
echo "version=$version" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
- name: Generate Release Notes | ||
id: generate_notes | ||
uses: release-drafter/release-drafter@v6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
config-name: release-drafter.yml | ||
version: ${{ env.version }} | ||
|
||
- name: Create and Upload Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: ${{ env.version }} | ||
name: Pre-Release ${{ env.version }} | ||
body: | | ||
${{ steps.generate_notes.outputs.body }} | ||
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil) | ||
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil-aarch64) | ||
append_body: false | ||
append_body: true | ||
generate_release_notes: true | ||
files: | | ||
./build/linutil | ||
./build/linutil-aarch64 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.