Skip to content

Commit

Permalink
Update the filenames of what's pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Jan 14, 2025
1 parent c2088c7 commit 3094626
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ if test "$GIT_TAG_NAME"; then
else
export BRANCH=${GITHUB_REF##*/}
echo "On branch $BRANCH"

export FILE_NAME="phpvms-${BRANCH}"
export FILE_NAME="phpvms-${GitVersion_PreReleaseLabel}"
fi

export TAR_NAME="$FILE_NAME.tar.gz"
Expand All @@ -40,4 +39,4 @@ echo "FULL_VERSION=${FULL_VERSION}" >> "$GITHUB_ENV"

echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "full_version=${FULL_VERSION}" >> "$GITHUB_OUTPUT"
echo "discord_msg=Version ${FULL_VERSION} is available, download: [zip](https://phpvms.cdn.vmslabs.net/$ZIP_NAME) | [tar](https://phpvms.cdn.vmslabs.net/$TAR_NAME)" >> "$GITHUB_OUTPUT"
echo "discord_msg=Version ${FULL_VERSION} is available, download: [zip](https://phpvms.cdn.vmslabs.net/${ZIP_NAME}) | [tar](https://phpvms.cdn.vmslabs.net/${TAR_NAME})" >> "$GITHUB_OUTPUT"

0 comments on commit 3094626

Please sign in to comment.