aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-30 20:41:22 -0600
committerGitHub <noreply@github.com>2023-01-30 20:41:22 -0600
commit57b2584efac2548011eb59fbda61f32d5d161ee0 (patch)
treec9db3100a1920009a20ceb59c310cc6f8296dbe5 /bin
parent84f75d569bef855fc1b14e4ab2c42f01eeda873d (diff)
parent4278d95a8923178563f54fbcbb4586638921e665 (diff)
downloadslskd-57b2584efac2548011eb59fbda61f32d5d161ee0.tar.gz
Merge branch 'master' into port
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build2
-rwxr-xr-xbin/publish4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/build b/bin/build
index 04fd0805..a5ca4f29 100755
--- a/bin/build
+++ b/bin/build
@@ -13,7 +13,7 @@ while test $# -gt 0; do
echo '--web-only skip dotnet build'
echo '--dotnet-only skip web build'
echo '--skip-tests skip execution of npm and dotnet tests'
- echo '--version version for the binary. defaults to current git tag-SHA'
+ echo '--version version for the binary. defaults to current git tag+SHA'
exit 0
;;
--web-only)
diff --git a/bin/publish b/bin/publish
index 3461c470..512fb9f6 100755
--- a/bin/publish
+++ b/bin/publish
@@ -11,7 +11,7 @@ while test $# -gt 0; do
echo '--no-prebuild skip build and test'
echo '--runtime a valid RID (https://docs.microsoft.com/en-us/dotnet/core/rid-catalog)'
echo '--platform one of: linux/amd64, linux/arm64, linux/arm/v7. overrides runtime.'
- echo '--version version for the binary. defaults to current git tag-SHA'
+ echo '--version version for the binary. defaults to current git tag+SHA'
echo '--output the output directory. defaults to ../../dist/<runtime>'
exit 0
;;
@@ -69,7 +69,7 @@ fi
if [ -z "$version" ]; then
tag=$(git describe --tags --abbrev=0)
sha=$(git rev-parse --short HEAD)
- version=$tag-$sha
+ version=$tag+$sha
fi
if [ -z "$runtime" ]; then