refactor(cross): ignore missing MSVC docker image

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-09-15 09:55:40 +02:00
parent be91b68b5a
commit bed68e9b55
No known key found for this signature in database
GPG key ID: 26C542FD97F965CE

View file

@ -109,6 +109,10 @@ all-release: build-release test-release
sleep 10
gh pr create --draft --title "chore: release $(grep '^version' Cargo.toml | head -n 1 | grep -E '([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?' -o)" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
#----------------#
# binaries #
#----------------#
tar BINARY TARGET:
tar czvf ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}.tar.gz -C ./target/{{TARGET}}/release/ ./{{BINARY}}
@ -121,10 +125,20 @@ binary BINARY TARGET:
just tar {{BINARY}} {{TARGET}}
just zip {{BINARY}} {{TARGET}}
checksum:
echo "# Checksums"
echo "## sha256sum"
echo '```'
sha256sum ./target/"bin-$(convco version)"/*
echo '```'
echo "## md5sum"
echo '```'
md5sum ./target/"bin-$(convco version)"/*
echo '```'
alias c := cross
# If you're not cafkafk and she isn't dead, you probably don't need to run
# this!
# Generate release binaries for EZA
#
# usage: cross
@cross:
@ -148,18 +162,10 @@ alias c := cross
## Windows
### x86
just binary eza.exe x86_64-pc-windows-gnu
just binary eza.exe x86_64-pc-windows-msvc
-just binary eza.exe x86_64-pc-windows-msvc
# Generate Checksums
echo "# Checksums"
echo "## sha256sum"
echo '```'
sha256sum ./target/"bin-$(convco version)"/*
echo '```'
echo "## md5sum"
echo '```'
md5sum ./target/"bin-$(convco version)"/*
echo '```'
just checksum
#---------------------#
# Integration testing #