mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-09-20 07:56:18 +08:00
ci: fix
This commit is contained in:
parent
e7a6f45814
commit
cecfda1171
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -52,13 +52,13 @@ jobs:
|
|||||||
echo prerelease=true | tee -a $GITHUB_OUTPUT
|
echo prerelease=true | tee -a $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Set up Node.js
|
# - name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
# uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: 14
|
# node-version: 14
|
||||||
|
#
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: npm install conventional-changelog-cli
|
# run: npm install conventional-changelog-cli
|
||||||
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: |
|
run: |
|
||||||
@ -69,7 +69,6 @@ jobs:
|
|||||||
last_tag=$(git describe --tags --match "v*" --abbrev=0 --exclude='${{ steps.set_tag.outputs.tag }}' --exclude='*-*')
|
last_tag=$(git describe --tags --match "v*" --abbrev=0 --exclude='${{ steps.set_tag.outputs.tag }}' --exclude='*-*')
|
||||||
fi
|
fi
|
||||||
echo >> CHANGELOG.md
|
echo >> CHANGELOG.md
|
||||||
npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0
|
|
||||||
echo "**Full Changelog**: [$last_tag -> $this_tag](https://github.com/octopusYan/alist-gui/compare/${last_tag}...${this_tag})" >> CHANGELOG.md
|
echo "**Full Changelog**: [$last_tag -> $this_tag](https://github.com/octopusYan/alist-gui/compare/${last_tag}...${this_tag})" >> CHANGELOG.md
|
||||||
|
|
||||||
- name: Upload changelog to Github
|
- name: Upload changelog to Github
|
||||||
|
Loading…
Reference in New Issue
Block a user