From 1311df1d6b97ef6f8d9351c3016c79be32f44a0c Mon Sep 17 00:00:00 2001 From: Antonio Date: Mon, 27 Feb 2023 10:22:06 +0100 Subject: [PATCH] chore: add polkadot output to Subalfred (#482) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 https://github.com/KILTprotocol/kilt-node/issues/481. --- .../workflows/polkadot-version-upgrade-ticket.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/polkadot-version-upgrade-ticket.yml b/.github/workflows/polkadot-version-upgrade-ticket.yml index 6eeb403c42..233cb538b2 100644 --- a/.github/workflows/polkadot-version-upgrade-ticket.yml +++ b/.github/workflows/polkadot-version-upgrade-ticket.yml @@ -33,7 +33,6 @@ 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: | @@ -41,8 +40,15 @@ jobs: 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: | @@ -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