Skip to content

Commit d705570

Browse files
authored
Update release.yaml
1 parent 2515620 commit d705570

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Extract commit data
3232
uses: rlespinasse/[email protected]
3333
- name: Get tag
34+
id: tag
3435
shell: bash
3536
run: |
3637
git config --global user.name "Madman10K"
@@ -41,6 +42,8 @@ jobs:
4142
tag="${tag:1}"
4243
numeric_tag="${tag//.}"
4344
numeric_tag="$(echo ${numeric_tag} | sed 's/^0*//')"
45+
46+
echo "out=untitled-imgui-framework-${tag}.tar.xz" >> $GITHUB_OUTPUT
4447
4548
sed -i "s/set(UIMGUI_FRAMEWORK_VERSION .*/set(UIMGUI_FRAMEWORK_VERSION ${tag})/g" Framework/cmake/Version.cmake
4649
sed -i "s/set(UIMGUI_FRAMEWORK_VERSION_NUMERIC .*)/set(UIMGUI_FRAMEWORK_VERSION_NUMERIC ${numeric_tag})/g" Framework/cmake/Version.cmake
@@ -49,7 +52,7 @@ jobs:
4952
shell: bash
5053
run: |
5154
rm -rf .git/
52-
tar cfJ untitled-imgui-framework.tar.xz . || echo "Might have failed"
55+
tar cfJ ${{ steps.tag.outputs.tag }} . || echo "Might have failed"
5356
- name: Create Release
5457
uses: softprops/action-gh-release@v2
5558
with:
@@ -58,5 +61,5 @@ jobs:
5861
More on what is done this month can be found on the latest newsletter entry: https://madladsquad.com/#monthly-newsletter
5962
draft: false
6063
prerelease: false
61-
files: untitled-imgui-framework.tar.xz
64+
files: ${{ steps.tag.outputs.tag }}
6265
generate_release_notes: false

0 commit comments

Comments
 (0)