Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWengier <wengierwu@yahoo.com>2022-09-16 00:52:32 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-16 01:33:34 +0300
commitbad38a25a940c0e4da12b3f41a49114f7213fcdd (patch)
tree2d9d09a9113354a150e848675f4648cfb273a2f4 /.github
parent8aee1c7153ec496b58e09409a51ccb4ae36f1672 (diff)
Shortens artifact name when necessary
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows-meson-msys2.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/windows-meson-msys2.yml b/.github/workflows/windows-meson-msys2.yml
index f13233b1b..6f0cae58f 100644
--- a/.github/workflows/windows-meson-msys2.yml
+++ b/.github/workflows/windows-meson-msys2.yml
@@ -314,9 +314,9 @@ jobs:
packageinfo="a development branch"
fi
mkdir out
- echo "version_number=`git describe --tags`" >> $GITHUB_ENV
+ echo "version_number=`git describe --tags --abbrev=4`" >> $GITHUB_ENV
sed -e "s|%PACKAGE_INFORMATION%|${packageinfo}|;s|%GITHUB_REPO%|${{ github.repository }}|" docs/README.template >out/setup_preamble.txt
- sed -i "s|DOSBOX-STAGING-VERSION|`git describe --tags`|" contrib/windows_installer/DOSBox-Staging-setup.iss
+ sed -i "s|DOSBOX-STAGING-VERSION|`git describe --tags --abbrev=4`|" contrib/windows_installer/DOSBox-Staging-setup.iss
echo @echo off >out/dosbox_with_console.bat
echo \"%~dp0\\dosbox.exe\" %* >>out/dosbox_with_console.bat
echo if errorlevel 1 pause >>out/dosbox_with_console.bat