Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit d18cbc8

Browse files
committed
v1.17: ci: update pipeline
1 parent 8f2138f commit d18cbc8

File tree

1 file changed

+1
-52
lines changed

1 file changed

+1
-52
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: "buildkite/[email protected]"
1414
with:
1515
buildkite_api_access_token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}
16-
pipeline: "anza/agave-secondary"
16+
pipeline: "solana-labs/solana-secondary"
1717
branch: "${{ github.ref_name }}"
1818
build_env_vars: '{"TRIGGERED_BUILDKITE_TAG": "${{ github.ref_name }}"}'
1919
commit: "HEAD"
@@ -36,54 +36,3 @@ jobs:
3636
draft: false,
3737
prerelease: true
3838
})
39-
40-
version-bump:
41-
runs-on: ubuntu-latest
42-
steps:
43-
- name: Checkout code
44-
uses: actions/checkout@v4
45-
with:
46-
fetch-depth: 0
47-
48-
- name: Parse Info
49-
id: parse_info
50-
run: |
51-
# get the next version
52-
version=${{ github.ref_name }}
53-
major=$(echo $version | cut -d'.' -f1)
54-
minor=$(echo $version | cut -d'.' -f2)
55-
patch=$(echo $version | cut -d'.' -f3)
56-
next_version=$major.$minor.$((patch+1))
57-
: "${next_version:?}"
58-
59-
# get the traget branch
60-
target_branch=$major.$minor
61-
: "${target_branch:?}"
62-
63-
echo "next_version=$next_version" | tee -a $GITHUB_OUTPUT
64-
echo "target_branch=$target_branch" | tee -a $GITHUB_OUTPUT
65-
66-
- name: Create branch and make changes
67-
run: |
68-
next_version=${{ steps.parse_info.outputs.next_version }}
69-
70-
git checkout -b version-bump-$next_version
71-
./scripts/increment-cargo-version.sh patch
72-
73-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
74-
git config user.name "github-actions[bot]"
75-
git commit -am "Bump version to $next_version"
76-
git push origin version-bump-$next_version
77-
78-
- name: Create PR
79-
uses: actions/github-script@v7
80-
with:
81-
github-token: ${{ secrets.GITHUB_TOKEN }}
82-
script: |
83-
github.rest.pulls.create({
84-
owner: context.repo.owner,
85-
repo: context.repo.repo,
86-
title: 'Bump version to ${{ steps.parse_info.outputs.next_version }}',
87-
head: 'version-bump-${{ steps.parse_info.outputs.next_version }}',
88-
base: '${{ steps.parse_info.outputs.target_branch }}'
89-
})

0 commit comments

Comments
 (0)