feat: update version to 1.2.5; enhance Gitea release workflow and streamline release process

This commit is contained in:
2025-02-18 22:18:49 +01:00
parent c252f48a49
commit 9203706a20
3 changed files with 25 additions and 26 deletions

View File

@ -17,16 +17,14 @@ jobs:
run: |
if [[ "$GITHUB_SERVER_URL" == "https://github.com" ]]; then
echo "platform=github" >> $GITHUB_OUTPUT
elif [[ "$CI_SERVER_URL" == *"gitlab"* ]]; then
echo "platform=gitlab" >> $GITHUB_OUTPUT
else
echo "platform=gitea" >> $GITHUB_OUTPUT
fi
- name: Run GitHub Release
if: steps.platform.outputs.platform == 'github'
uses: ./.github/workflows/providers/github-release.yml
- name: Run Gitea Release
if: steps.platform.outputs.platform == 'gitea'
uses: ./.github/workflows/providers/gitea-release.yml
- name: Run Release Workflow
run: |
if [[ "${{ steps.platform.outputs.platform }}" == "github" ]]; then
./.github/workflows/providers/github-release.sh
else
./.github/workflows/providers/gitea-release.sh
fi