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-27 04:43:06 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-27 07:30:18 +0300
commit3cb5dc4062962e4d8a056ae52fbaa2b2d5fab440 (patch)
treea937bfabd5ad08c913a972fd2bfed52a73fb3da9 /scripts
parent78ff04630f92ef93a5d3508916cf49cf77026335 (diff)
Describes release/x branch as release
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/create-package.sh b/scripts/create-package.sh
index 74f31df37..b0ed7d3ab 100755
--- a/scripts/create-package.sh
+++ b/scripts/create-package.sh
@@ -77,6 +77,9 @@ install_doc()
if [[ "$git_branch" == "refs/tags/"* ]] && [[ "$git_branch" != *"-"* ]]; then
version_tag=`echo $git_branch | awk '{print substr($0,11);exit}'`
package_information="release $version_tag"
+ elif [[ "$git_branch" == "release/"* ]]; then
+ version_tag=`git describe --tags | cut -f1 -d"-"`
+ packageinfo="release $version_tag"
elif [ -n "$git_branch" ] && [ -n "$git_commit" ]; then
package_information="a development branch named $git_branch with commit $git_commit"
else