diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-28 16:16:28 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-28 16:16:28 -0600 |
| commit | 10559e97fbe2edb35459586d3dea43075855d3cd (patch) | |
| tree | fb70a70711fe2d4f4fb2cb43ae00d4b4eff4c774 /bin/publish | |
| parent | b55d705f13da8c2c6c47d098a027c3bae74ae3f7 (diff) | |
| download | slskd-10559e97fbe2edb35459586d3dea43075855d3cd.tar.gz | |
fix version check (again)
Diffstat (limited to 'bin/publish')
| -rwxr-xr-x | bin/publish | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
