Skip to content

Commit

Permalink
Bump pipeline from 1.36.2 to 1.36.5
Browse files Browse the repository at this point in the history
Bumps pipeline from 1.36.2 to 1.36.5.

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
paketo-bot authored Jan 25, 2024
1 parent db18613 commit 9cc6957
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.2
1.36.5
12 changes: 7 additions & 5 deletions .github/workflows/pb-update-yourkit-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ jobs:
set -euo pipefail
if [ -z "${ARCH}" ]; then
ARCH="amd64"
fi
VERSION_DEPS=$(yj -tj < buildpack.toml | jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) )")
ARCH=${ARCH:-amd64}
OLD_VERSION=$(echo "$VERSION_DEPS" | jq -r 'select( .purl | contains( env.ARCH ) ) | .version')
OLD_VERSION=$(yj -tj < buildpack.toml | \
jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) ) | select( .purl | contains( env.ARCH ) ) | .version")
if [ -z "$OLD_VERSION" ]; then
ARCH="" # empty means noarch
OLD_VERSION=$(echo "$VERSION_DEPS" | jq -r ".version")
fi
update-buildpack-dependency \
--buildpack-toml buildpack.toml \
Expand Down

0 comments on commit 9cc6957

Please sign in to comment.