9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

fetch all tag in action

This commit is contained in:
s-yh-china
2022-09-14 17:27:46 +08:00
committed by GitHub
parent de9a5269fc
commit ae07e99321

View File

@@ -40,6 +40,7 @@ jobs:
mv build/libs/Leaves-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar leaves-1.19.2.jar
echo "name=Leaves-`git rev-parse --short HEAD`" >> $GITHUB_ENV
echo "tag=1.19.2-`git rev-parse --short HEAD`" >> $GITHUB_ENV
git fetch --tags
sh scripts/GetReleaseInfo.sh
- name: Create Release
uses: ncipollo/release-action@v1