diff options
| author | Matt Goldspink <mattgoldspink1@gmail.com> | 2023-02-03 14:03:05 -0800 |
|---|---|---|
| committer | Matt Goldspink <mattgoldspink1@gmail.com> | 2023-02-03 14:03:05 -0800 |
| commit | c8b35b6c58c12893c3be8ec7d38a1c9ea60cf570 (patch) | |
| tree | 230a6a81f3d5a5a258cec6dc0fc2eca4f2247860 /bin | |
| parent | 868c411c85dabeafdc782065e0536303852f2643 (diff) | |
| parent | 7051348242058fc50c0fb474d011b90ff2c09071 (diff) | |
| download | slskd-c8b35b6c58c12893c3be8ec7d38a1c9ea60cf570.tar.gz | |
Merge branch 'feature/dark-mode' of github.com:mattgoldspink/slskd into feature/dark-mode
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/build | 2 | ||||
| -rwxr-xr-x | bin/publish | 4 | ||||
| -rwxr-xr-x | bin/run | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -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 @@ -4,7 +4,7 @@ if [ -z "$1" ]; then fi docker run -i \ - -p 5000:5000 \ + -p 5030:5030 \ -p $SLSK_LISTEN_PORT:$SLSK_LISTEN_PORT \ -v $SLSK_OUTPUT_DIR:/var/slsk/download \ -v $SLSK_SHARED_DIR:/var/slsk/shared \ |
