Skip to content

Commit

Permalink
Merge pull request #118 from paketo-community/update/pipeline
Browse files Browse the repository at this point in the history
Bump pipeline from 1.11.0 to 1.12.0
  • Loading branch information
Daniel Mikusa authored Oct 26, 2021
2 parents 9558f69 + b86a755 commit 1ec4182
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.12.0
11 changes: 10 additions & 1 deletion .github/workflows/update-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
LABEL="semver:patch"
fi
echo "::set-output name=old-version::${OLD_VERSION}"
echo "::set-output name=new-version::${NEW_VERSION}"
echo "::set-output name=version-label::${LABEL}"
env:
BP_DEPENDENCY: docker.io/paketo-community/cargo
DEPENDENCY: docker.io/paketocommunity/cargo
Expand All @@ -120,7 +129,7 @@ jobs:
Bumps docker.io/paketocommunity/cargo from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump docker.io/paketocommunity/cargo from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-procfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
LABEL="semver:patch"
fi
echo "::set-output name=old-version::${OLD_VERSION}"
echo "::set-output name=new-version::${NEW_VERSION}"
echo "::set-output name=version-label::${LABEL}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/procfile
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/procfile from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/procfile from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-rust-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
LABEL="semver:patch"
fi
echo "::set-output name=old-version::${OLD_VERSION}"
echo "::set-output name=new-version::${NEW_VERSION}"
echo "::set-output name=version-label::${LABEL}"
env:
BP_DEPENDENCY: docker.io/paketo-community/rust-dist
DEPENDENCY: docker.io/paketocommunity/rust-dist
Expand All @@ -120,7 +129,7 @@ jobs:
Bumps docker.io/paketocommunity/rust-dist from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump docker.io/paketocommunity/rust-dist from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-rustup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
LABEL="semver:patch"
fi
echo "::set-output name=old-version::${OLD_VERSION}"
echo "::set-output name=new-version::${NEW_VERSION}"
echo "::set-output name=version-label::${LABEL}"
env:
BP_DEPENDENCY: docker.io/paketo-community/rustup
DEPENDENCY: docker.io/paketocommunity/rustup
Expand All @@ -120,7 +129,7 @@ jobs:
Bumps docker.io/paketocommunity/rustup from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump docker.io/paketocommunity/rustup from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}

0 comments on commit 1ec4182

Please sign in to comment.