Skip to content

Commit 1cb6ffa

Browse files
authored
chore: add polkadot output to Subalfred (#482)
Polkadot release branch naming has a different convention since it starts with `release`. I thought it was simply not supported by subalfred, but I was simply too tired to notice that 😄 Just launched a test run from this branch: https://github.com/KILTprotocol/kilt-node/actions/runs/4280433199/jobs/7452196855, which created the new ticket #481.
1 parent a9d23d5 commit 1cb6ffa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/polkadot-version-upgrade-ticket.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,22 @@ jobs:
3333
SUBALFRED_VERSION: 0.9.1
3434
run: cargo install --version $SUBALFRED_VERSION --git https://github.com/hack-ink/subalfred.git subalfred
3535
- name: Run subalfred for Substrate
36-
id: subalfred-substrate
3736
env:
3837
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
3938
run: |
4039
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
4140
echo "SUBALFRED_SUBSTRATE_OUTPUT<<$EOF" >> $GITHUB_ENV
4241
subalfred track-updates paritytech/substrate --from polkadot-v${{ inputs.current-version }} --to polkadot-v${{ inputs.target-version }} >> $GITHUB_ENV
4342
echo "$EOF" >> $GITHUB_ENV
43+
- name: Run subalfred for Polkadot
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
46+
run: |
47+
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
48+
echo "SUBALFRED_POLKADOT_OUTPUT<<$EOF" >> $GITHUB_ENV
49+
subalfred track-updates paritytech/polkadot --from release-v${{ inputs.current-version }} --to release-v${{ inputs.target-version }} >> $GITHUB_ENV
50+
echo "$EOF" >> $GITHUB_ENV
4451
- name: Run subalfred for Cumulus
45-
id: subalfred-cumulus
4652
env:
4753
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
4854
run: |
@@ -58,6 +64,9 @@ jobs:
5864
## Substrate changes
5965
${{ env.SUBALFRED_SUBSTRATE_OUTPUT }}
6066
67+
## Polkadot changes
68+
${{ env.SUBALFRED_POLKADOT_OUTPUT }}
69+
6170
## Cumulus changes
6271
${{ env.SUBALFRED_CUMULUS_OUTPUT }}
6372
labels: kiltbot, ⛓ KILT node

0 commit comments

Comments
 (0)