Skip to content

Commit

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

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
garethjevans committed Jan 19, 2024
1 parent d87aca8 commit 88c67b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.33.0
1.36.0
3 changes: 0 additions & 3 deletions .github/workflows/pb-create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Create Package
release:
types:
- published
push:
branches:
- main
jobs:
create-package:
name: Create Package
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/pb-update-ytt-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ jobs:
set -euo pipefail
OLD_VERSION=$(yj -tj < buildpack.toml | jq -r "
.metadata.dependencies[] |
select( .id == env.ID ) |
select( .version | test( env.VERSION_PATTERN ) ) |
.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")
update-buildpack-dependency \
--buildpack-toml buildpack.toml \
Expand All @@ -72,7 +69,9 @@ jobs:
--purl-pattern "${PURL_PATTERN:-}" \
--purl "${PURL:-}" \
--uri "${URI}" \
--sha256 "${SHA256}"
--sha256 "${SHA256}" \
--source "${SOURCE_URI}" \
--source-sha256 "${SOURCE_SHA256}"
git add buildpack.toml
git checkout -- .
Expand All @@ -89,12 +88,15 @@ jobs:
echo "new-version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT"
env:
ARCH: ""
CPE: ${{ steps.dependency.outputs.cpe }}
CPE_PATTERN: ""
ID: ytt
PURL: ${{ steps.dependency.outputs.purl }}
PURL_PATTERN: ""
SHA256: ${{ steps.dependency.outputs.sha256 }}
SOURCE_SHA256: ${{ steps.dependency.outputs.source_sha256 }}
SOURCE_URI: ${{ steps.dependency.outputs.source }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+'
Expand Down

0 comments on commit 88c67b8

Please sign in to comment.