From c57db2104d7b8363d0b8ce8872ce90fc7410c724 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 8 Feb 2025 13:36:24 +0300 Subject: [PATCH] misc(workflow): Short `release_name` (#1816) --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 29cc04165..c9b384ca5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -61,7 +61,7 @@ jobs: file: ${{ steps.create-zip.outputs.ZIP_NAME }} overwrite: true tag: ${{ github.ref }} - release_name: "TorrentPier v${{ env.RELEASE_VERSION }}" + release_name: "v${{ env.RELEASE_VERSION }}" body: "${{ needs.generate-changelog.outputs.release_body }}" - name: Publish to GitHub (pre-release) @@ -72,6 +72,6 @@ jobs: file: ${{ steps.create-zip.outputs.ZIP_NAME }} overwrite: true tag: ${{ github.ref }} - release_name: "TorrentPier v${{ env.RELEASE_VERSION }}" + release_name: "v${{ env.RELEASE_VERSION }}" body: "${{ needs.generate-changelog.outputs.release_body }}" prerelease: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a4ca63c8..da044f6b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Get commit hash 🔗 - id: get_commit_hash + id: get-commit-hash run: | COMMIT_HASH=$(git rev-parse --short HEAD) echo "COMMIT_HASH=$COMMIT_HASH" >> $GITHUB_OUTPUT @@ -31,7 +31,7 @@ jobs: - name: Create archive 🗞 id: create-zip run: | - ZIP_NAME="torrentpier-${{ steps.get_commit_hash.outputs.COMMIT_HASH }}.zip" + ZIP_NAME="torrentpier-${{ steps.get-commit-hash.outputs.COMMIT_HASH }}.zip" zip -r "$ZIP_NAME" . -x ".git/*" ".github/*" echo "ZIP_NAME=$ZIP_NAME" >> $GITHUB_OUTPUT