| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76e0d86 commit 7fc9931
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,4 +86,4 @@ echo "$NEW_GYP" >"$DEPS_DIR/googletest/googletest.gyp" | |||
| 86 | 86 | # Update the version number on maintaining-dependencies.md | |
| 87 | 87 | # and print the new version as the last line of the script as we need | |
| 88 | 88 | # to add it to $GITHUB_ENV variable | |
| 89 | - finalize_version_update "googletest" "$NEW_VERSION" | ||
| 89 | + finalize_version_update "googletest" "$NEW_UPSTREAM_SHA1" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,16 +8,15 @@ NIXPKGS_PIN_FILE="$BASE_DIR/tools/nix/pkgs.nix" | |||
| 8 | 8 | ||
| 9 | 9 | NIXPKGS_REPO=$(grep 'repo =' "$NIXPKGS_PIN_FILE" | awk -F'"' '{ print $2 }') | |
| 10 | 10 | CURRENT_VERSION_SHA1=$(grep 'rev =' "$NIXPKGS_PIN_FILE" | awk -F'"' '{ print $2 }') | |
| 11 | - CURRENT_VERSION=$(echo "$CURRENT_VERSION_SHA1" | head -c 7) | ||
| 12 | 11 | ||
| 13 | 12 | NEW_UPSTREAM_SHA1=$(git ls-remote "$NIXPKGS_REPO.git" nixpkgs-unstable | awk '{print $1}') | |
| 14 | - NEW_VERSION=$(echo "$NEW_UPSTREAM_SHA1" | head -c 7) | ||
| 13 | + NEW_VERSION=$(echo "$NEW_UPSTREAM_SHA1" | head -c 35) | ||
| 15 | 14 | ||
| 16 | 15 | ||
| 17 | 16 | # shellcheck disable=SC1091 | |
| 18 | 17 | . "$BASE_DIR/tools/dep_updaters/utils.sh" | |
| 19 | 18 | ||
| 20 | - compare_dependency_version "nixpkgs-unstable" "$NEW_VERSION" "$CURRENT_VERSION" | ||
| 19 | + compare_dependency_version "nixpkgs-unstable" "$CURRENT_VERSION_SHA1" "$NEW_UPSTREAM_SHA1" | ||
| 21 | 20 | ||
| 22 | 21 | CURRENT_TARBALL_HASH=$(grep 'sha256 =' "$NIXPKGS_PIN_FILE" | awk -F'"' '{ print $2 }') | |
| 23 | 22 | NEW_TARBALL_HASH=$(nix-prefetch-url --unpack "$NIXPKGS_REPO/archive/$NEW_UPSTREAM_SHA1.tar.gz") | |
| Back | FazBrowse Home | New Git URL |
0 commit comments