From daed64fb33cd0354c92739d237d3845ab0f8b026 Mon Sep 17 00:00:00 2001 From: BillyWooo Date: Wed, 18 Sep 2024 09:38:25 +0200 Subject: [PATCH] missing paseon config for CI jobs (#3071) * missing paseon config for CI jobs * find one more --- .github/workflows/build-wasm.yml | 1 + .github/workflows/create-release-draft.yml | 2 ++ scripts/generate-release-notes.sh | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wasm.yml b/.github/workflows/build-wasm.yml index fa449a9345..2140b3b7ab 100644 --- a/.github/workflows/build-wasm.yml +++ b/.github/workflows/build-wasm.yml @@ -9,6 +9,7 @@ on: options: - litentry - rococo + - paseo ref: description: The commit SHA or tag for checking out code default: "" diff --git a/.github/workflows/create-release-draft.yml b/.github/workflows/create-release-draft.yml index 2e032b5f47..edf06797fb 100644 --- a/.github/workflows/create-release-draft.yml +++ b/.github/workflows/create-release-draft.yml @@ -36,6 +36,7 @@ on: options: - none - rococo + - paseo - litentry env: @@ -76,6 +77,7 @@ jobs: matrix: chain: - rococo + - paseo - litentry name: ${{ matrix.chain }} steps: diff --git a/scripts/generate-release-notes.sh b/scripts/generate-release-notes.sh index 0ad0828145..2d79573f75 100755 --- a/scripts/generate-release-notes.sh +++ b/scripts/generate-release-notes.sh @@ -116,7 +116,7 @@ fi if is_runtime_release; then echo "## Parachain runtime" >> "$1" - for CHAIN in rococo litentry; do + for CHAIN in rococo litentry paseo; do SRTOOL_DIGEST_FILE=$CHAIN-parachain-runtime/$CHAIN-parachain-srtool-digest.json RUNTIME_VERSION=$(grep spec_version runtime/$CHAIN/src/lib.rs | sed 's/.*version: //;s/,//') RUNTIME_COMPRESSED_SIZE=$(cat "$SRTOOL_DIGEST_FILE" | jq .runtimes.compressed.size | sed 's/"//g') @@ -256,12 +256,12 @@ EOF commit=$(echo "$f" | cut -d'|' -f1) desc=$(echo "$f" | cut -d'|' -f2) output="- [\`$commit\`]($REPO/commit/$commit) $desc" - + for ((i=0; i<${#labels[@]}; i++)); do label=$(gh pr list --search "$commit" --label "${labels[i]}" --state merged) [ -n "$label" ] && output+=" $REPO/labels/${labels[i]}" done - + echo "$output" >> "$1" done fi \ No newline at end of file