Skip to content

Commit

Permalink
chore: add polkadot output to Subalfred (#482)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ntn-x2 authored and Ad96el committed Mar 20, 2023
1 parent 4722c84 commit 1311df1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/polkadot-version-upgrade-ticket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,22 @@ jobs:
SUBALFRED_VERSION: 0.9.1
run: cargo install --version $SUBALFRED_VERSION --git https://github.com/hack-ink/subalfred.git subalfred
- name: Run subalfred for Substrate
id: subalfred-substrate
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
run: |
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "SUBALFRED_SUBSTRATE_OUTPUT<<$EOF" >> $GITHUB_ENV
subalfred track-updates paritytech/substrate --from polkadot-v${{ inputs.current-version }} --to polkadot-v${{ inputs.target-version }} >> $GITHUB_ENV
echo "$EOF" >> $GITHUB_ENV
- name: Run subalfred for Polkadot
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
run: |
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "SUBALFRED_POLKADOT_OUTPUT<<$EOF" >> $GITHUB_ENV
subalfred track-updates paritytech/polkadot --from release-v${{ inputs.current-version }} --to release-v${{ inputs.target-version }} >> $GITHUB_ENV
echo "$EOF" >> $GITHUB_ENV
- name: Run subalfred for Cumulus
id: subalfred-cumulus
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
run: |
Expand All @@ -58,6 +64,9 @@ jobs:
## Substrate changes
${{ env.SUBALFRED_SUBSTRATE_OUTPUT }}
## Polkadot changes
${{ env.SUBALFRED_POLKADOT_OUTPUT }}
## Cumulus changes
${{ env.SUBALFRED_CUMULUS_OUTPUT }}
labels: kiltbot, β›“ KILT node
Expand Down

0 comments on commit 1311df1

Please sign in to comment.