Skip to content

Commit 4a37997

Browse files
paritytech-release-backport-bot[bot]iulianbarbuEgorPopelyaev
authored
[stable2412] Backport #8816 (#8824)
Backport #8816 into `stable2412` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]>
1 parent e751492 commit 4a37997

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/scripts/release/build-macos-release.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@ PROFILE=${PROFILE:-production}
1414
# write, so make it relative to github workspace.
1515
ARTIFACTS=$GITHUB_WORKSPACE/artifacts/$BIN
1616
VERSION=$(git tag -l --contains HEAD | grep -E "^v.*")
17+
# must be given as feature1,feature2,feature3...
18+
FEATURES=$3
19+
if [ -n "$FEATURES" ]; then
20+
FEATURES="--features ${FEATURES}"
21+
fi
1722

1823
echo "Artifacts will be copied into $ARTIFACTS"
1924
mkdir -p "$ARTIFACTS"
2025

2126
git log --pretty=oneline -n 1
22-
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE
27+
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE $FEATURES
2328

2429
echo "Artifact target: $ARTIFACTS"
2530

.github/workflows/release-reusable-rc-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
- name: Install pgpkkms
210210
run: |
211211
# Install pgpkms that is used to sign built artifacts
212-
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed"
212+
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed" --break-system-packages
213213
214214
- name: Import gpg keys
215215
shell: bash

0 commit comments

Comments
 (0)