mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
fix: linux CI, strip inner wrapper dir from monero_c RC2 bundle (#3325)
This commit is contained in:
@@ -116,10 +116,18 @@ jobs:
|
||||
./scripts/prepare_moneroc.sh
|
||||
mkdir -p scripts/monero_c/release
|
||||
pushd scripts/monero_c/release
|
||||
mkdir -p $(git describe --tags)
|
||||
pushd $(git describe --tags)
|
||||
TAG=$(git describe --tags)
|
||||
mkdir -p "$TAG"
|
||||
pushd "$TAG"
|
||||
wget https://github.com/MrCyjaneK/monero_c/releases/download/v0.18.4.6-RC2/release-bundle.zip
|
||||
unzip release-bundle.zip
|
||||
# RC2's bundle puts everything under an inner v0.18.4.6-*/ dir, strip it
|
||||
shopt -s nullglob
|
||||
for inner in v0.18.4.6-*/; do
|
||||
mv "$inner"* .
|
||||
rmdir "$inner"
|
||||
done
|
||||
shopt -u nullglob
|
||||
rm release-bundle.zip
|
||||
popd
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user