mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
k3s: make update script work with all versions (#411512)
This commit is contained in:
commit
5fa68cc59e
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ cd "$K3S_STORE_PATH"
|
|||
# Set the DRONE variables as they are expected to be set in version.sh
|
||||
DRONE_TAG="$LATEST_TAG_NAME"
|
||||
DRONE_COMMIT="$K3S_COMMIT"
|
||||
NO_DAPPER=1 # Skips git_version.sh execution in scripts/version.sh#L8
|
||||
source "${K3S_STORE_PATH}/scripts/git_version.sh"
|
||||
NO_DAPPER="" # Source git_version.sh in scripts/version.sh#L8
|
||||
source "${K3S_STORE_PATH}/scripts/version.sh"
|
||||
|
||||
K3S_ROOT_SHA256=$(nix-prefetch-url --quiet --unpack \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue