Compare commits

...

3 Commits

Author SHA1 Message Date
Leendert de Borst
b0748316ff Merge pull request #511 from lanedirt/510-admin-password-hash-method-in-installcli-does-not-pass-required-arguments
Admin password hash method in installcli does not pass required arguments
2025-01-01 16:18:36 +01:00
Leendert de Borst
8f8b4af3c9 Update install.sh (#510) 2025-01-01 16:18:15 +01:00
Leendert de Borst
11bf183cbb Update install.sh (#510) 2025-01-01 16:17:41 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# @version 0.10.0
# @version 0.10.1
# Repository information used for downloading files and images from GitHub
REPO_OWNER="lanedirt"
@@ -526,13 +526,13 @@ generate_admin_password() {
fi
)
fi
HASH=$(docker run --rm installcli "$PASSWORD")
HASH=$(docker run --rm installcli hash-password "$PASSWORD")
if [ -z "$HASH" ]; then
printf "${RED}> Error: Failed to generate password hash${NC}\n"
exit 1
fi
else
HASH=$(docker run --rm ${GITHUB_CONTAINER_REGISTRY}-installcli:latest "$PASSWORD")
HASH=$(docker run --rm ${GITHUB_CONTAINER_REGISTRY}-installcli:latest hash-password "$PASSWORD")
if [ -z "$HASH" ]; then
printf "${RED}> Error: Failed to generate password hash${NC}\n"
exit 1

View File

@@ -30,7 +30,7 @@ public static class AppInfo
/// <summary>
/// Gets the patch version number.
/// </summary>
public const int VersionPatch = 0;
public const int VersionPatch = 1;
/// <summary>
/// Gets the build number, typically used in CI/CD pipelines.