mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
misc(workflow): Short release_name
(#1816)
This commit is contained in:
parent
f2aea92b3d
commit
c57db2104d
2 changed files with 4 additions and 4 deletions
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue