Compare commits
92 Commits
android-op
...
Meta
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ffaa40c120 | ||
![]() |
65071ea7d1 | ||
![]() |
fa94403629 | ||
![]() |
1beb2919e7 | ||
![]() |
75c5d0482e | ||
![]() |
55bcabdf46 | ||
![]() |
abf80601e1 | ||
![]() |
26f97b45d6 | ||
![]() |
29315ce8e5 | ||
![]() |
65f84d21ea | ||
![]() |
e3ac58bc51 | ||
![]() |
c66438d794 | ||
![]() |
411e587460 | ||
![]() |
6cc9c68458 | ||
![]() |
d1c858d7ff | ||
![]() |
3eef1ee064 | ||
![]() |
514d374b8c | ||
![]() |
a2334430c1 | ||
![]() |
c8a3d6edd9 | ||
![]() |
bda2ca3c13 | ||
![]() |
f4b734c74c | ||
![]() |
c2cdf43239 | ||
![]() |
b939c81d3e | ||
![]() |
0e92496eeb | ||
![]() |
ea482598e0 | ||
![]() |
16f3567ddc | ||
![]() |
73f8da091e | ||
![]() |
6bdaadc581 | ||
![]() |
73a2cf593e | ||
![]() |
665bfcab2d | ||
![]() |
8be860472a | ||
![]() |
1ec74f13f7 | ||
![]() |
564b834e00 | ||
![]() |
da04e00767 | ||
![]() |
e0faffbfbd | ||
![]() |
a0c7641ad5 | ||
![]() |
1f592c43de | ||
![]() |
4d7350923c | ||
![]() |
76a7945994 | ||
![]() |
a2bbd1cc8d | ||
![]() |
4ec66d299a | ||
![]() |
4e46cbfbde | ||
![]() |
1a44dcee55 | ||
![]() |
6c7d1657a5 | ||
![]() |
38e210a851 | ||
![]() |
359ee70daa | ||
![]() |
8d1251f128 | ||
![]() |
fb6a032872 | ||
![]() |
47ad8e08be | ||
![]() |
e1af4ddda3 | ||
![]() |
58e05c42c9 | ||
![]() |
880cc90e10 | ||
![]() |
a4334e1d52 | ||
![]() |
3ba94842cc | ||
![]() |
a266589faf | ||
![]() |
d9319ec09a | ||
![]() |
070f8f8949 | ||
![]() |
bf3c6a044c | ||
![]() |
d6d2d90502 | ||
![]() |
a1d0f4c6ee | ||
![]() |
d569d8186d | ||
![]() |
9b7aab1fc7 | ||
![]() |
3c717097cb | ||
![]() |
8293b7fdae | ||
![]() |
0ba415866e | ||
![]() |
53b41ca166 | ||
![]() |
8a75f78e63 | ||
![]() |
d9692c6366 | ||
![]() |
f4b0062dfc | ||
![]() |
b9ffc82e53 | ||
![]() |
78aaea6a45 | ||
![]() |
3645fbf161 | ||
![]() |
a1d0f22132 | ||
![]() |
fa73b0f4bf | ||
![]() |
3b76a8b839 | ||
![]() |
667f42dcdc | ||
![]() |
dfbe09860f | ||
![]() |
9e20f9c26a | ||
![]() |
f968d0cb82 | ||
![]() |
2ad84f4379 | ||
![]() |
c7aa16426f | ||
![]() |
5987f8e3b5 | ||
![]() |
3a8eb72de2 | ||
![]() |
33abbdfd24 | ||
![]() |
0703d6cbff | ||
![]() |
10d2d14938 | ||
![]() |
691cf1d8d6 | ||
![]() |
d1decb8e58 | ||
![]() |
7d04904109 | ||
![]() |
a5acd3aa97 | ||
![]() |
eea9a12560 | ||
![]() |
0a4570b55c |
32
.github/genReleaseNote.sh
vendored
Executable file
32
.github/genReleaseNote.sh
vendored
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
while getopts "v:" opt; do
|
||||||
|
case $opt in
|
||||||
|
v)
|
||||||
|
version_range=$OPTARG
|
||||||
|
;;
|
||||||
|
\?)
|
||||||
|
echo "Invalid option: -$OPTARG" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -z "$version_range" ]; then
|
||||||
|
echo "Please provide the version range using -v option. Example: ./genReleashNote.sh -v v1.14.1...v1.14.2"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "## What's Changed" > release.md
|
||||||
|
git log --pretty=format:"* %s by @%an" --grep="^feat" -i $version_range | sort -f | uniq >> release.md
|
||||||
|
echo "" >> release.md
|
||||||
|
|
||||||
|
echo "## BUG & Fix" >> release.md
|
||||||
|
git log --pretty=format:"* %s by @%an" --grep="^fix" -i $version_range | sort -f | uniq >> release.md
|
||||||
|
echo "" >> release.md
|
||||||
|
|
||||||
|
echo "## Maintenance" >> release.md
|
||||||
|
git log --pretty=format:"* %s by @%an" --grep="^chore\|^docs\|^refactor" -i $version_range | sort -f | uniq >> release.md
|
||||||
|
echo "" >> release.md
|
||||||
|
|
||||||
|
echo "**Full Changelog**: https://github.com/MetaCubeX/Clash.Meta/compare/$version_range" >> release.md
|
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -94,11 +94,6 @@ jobs:
|
|||||||
run: echo "VERSION=alpha-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
run: echo "VERSION=alpha-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set variables
|
|
||||||
if: ${{github.ref_name=='Beta'}}
|
|
||||||
run: echo "VERSION=beta-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
if: ${{github.ref_name=='Meta'}}
|
if: ${{github.ref_name=='Meta'}}
|
||||||
run: echo "VERSION=meta-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
run: echo "VERSION=meta-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
@ -267,6 +262,23 @@ jobs:
|
|||||||
needs: [Build]
|
needs: [Build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Get tags
|
||||||
|
run: |
|
||||||
|
echo "CURRENTVERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
|
git fetch --tags
|
||||||
|
echo "PREVERSION=$(git describe --tags --abbrev=0 HEAD^)" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Generate release notes
|
||||||
|
run: |
|
||||||
|
cp ./.github/genReleaseNote.sh ./
|
||||||
|
bash ./genReleaseNote.sh -v ${PREVERSION}...${CURRENTVERSION}
|
||||||
|
rm ./genReleaseNote.sh
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
@ -283,6 +295,7 @@ jobs:
|
|||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
files: bin/*
|
files: bin/*
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
body_path: release.md
|
||||||
|
|
||||||
Docker:
|
Docker:
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
15
.github/workflows/delete.yml
vendored
Normal file
15
.github/workflows/delete.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: Delete old workflow runs
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * SUN"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
del_runs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Delete workflow runs
|
||||||
|
uses: GitRML/delete-workflow-runs@main
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.AUTH_PAT }}
|
||||||
|
repository: ${{ github.repository }}
|
||||||
|
retain_days: 30
|
Reference in New Issue
Block a user