aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authortxtsd <thexerothermicsclerodermoid@gmail.com>2022-02-18 19:27:15 +0530
committertxtsd <thexerothermicsclerodermoid@gmail.com>2022-02-18 19:27:15 +0530
commit9b7cd029a79f42456c0907014737b5cdd62fc657 (patch)
treedd5b44c6556e3be553ed3da1c01e98f4614b0d80 /.github
parente24a183dadb891bab633b9af3e7474a38c3b49d8 (diff)
downloadPrismLauncher-9b7cd029a79f42456c0907014737b5cdd62fc657.tar.gz
PrismLauncher-9b7cd029a79f42456c0907014737b5cdd62fc657.tar.bz2
PrismLauncher-9b7cd029a79f42456c0907014737b5cdd62fc657.zip
Grab short version
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/trigger_builds.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/trigger_builds.yml b/.github/workflows/trigger_builds.yml
index 7299ef1a..4a162665 100644
--- a/.github/workflows/trigger_builds.yml
+++ b/.github/workflows/trigger_builds.yml
@@ -24,6 +24,10 @@ jobs:
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
+ - name: Grab and store version
+ run: |
+ tag_name=$(echo ${{ github.ref }} | grep -oE "[^/]+$")
+ echo "VERSION=$tag_name" >> $GITHUB_ENV
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
@@ -31,7 +35,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
- name: PolyMC ${{ github.ref }}
+ name: PolyMC ${{ env.VERSION }}
draft: true
prerelease: false